diff --git a/.github/helper/roulette.py b/.github/helper/roulette.py index 5cedae1541..9eec32e863 100644 --- a/.github/helper/roulette.py +++ b/.github/helper/roulette.py @@ -79,7 +79,7 @@ if __name__ == "__main__": # this is a push build, run all builds if not pr_number: - os.system('echo "::set-output name=build::strawberry"') + os.system('echo "build=strawberry" >> $GITHUB_OUTPUT') sys.exit(0) files_list = files_list or get_files_list(pr_number=pr_number, repo=repo) @@ -122,4 +122,4 @@ if __name__ == "__main__": print("Only Python code was updated, stopping Cypress build process.") sys.exit(0) - os.system('echo "::set-output name=build::strawberry"') + os.system('echo "build=strawberry" >> $GITHUB_OUTPUT') diff --git a/.github/workflows/patch-mariadb-tests.yml b/.github/workflows/patch-mariadb-tests.yml index 8ce879e775..57f421cc1b 100644 --- a/.github/workflows/patch-mariadb-tests.yml +++ b/.github/workflows/patch-mariadb-tests.yml @@ -84,7 +84,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 id: yarn-cache diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index a003393782..cc310fd8d7 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -106,7 +106,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 id: yarn-cache diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 588003c6a4..f022f10ea4 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -94,7 +94,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 id: yarn-cache diff --git a/frappe/utils/boilerplate.py b/frappe/utils/boilerplate.py index 5c792208b3..0963d9fabe 100644 --- a/frappe/utils/boilerplate.py +++ b/frappe/utils/boilerplate.py @@ -475,7 +475,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: 'echo "::set-output name=dir::$(yarn cache dir)"' + run: 'echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT' - uses: actions/cache@v3 id: yarn-cache