diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea0f17c95..f4fe0678f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,15 +42,15 @@ jobs: id: branch-check run: | if [[ $(git ls-remote --heads origin rc) ]]; then - echo "::set-output name=rc_branch_exists::1" + echo "rc_branch_exists=1" >> $GITHUB_OUTPUT else - echo "::set-output name=rc_branch_exists::0" + echo "rc_branch_exists=0" >> $GITHUB_OUTPUT fi if [[ $(git ls-remote --heads origin hotfix-rc) ]]; then - echo "::set-output name=hotfix_branch_exists::1" + echo "hotfix_branch_exists=1" >> $GITHUB_OUTPUT else - echo "::set-output name=hotfix_branch_exists::0" + echo "hotfix_branch_exists=0" >> $GITHUB_OUTPUT fi shell: bash @@ -475,7 +475,7 @@ jobs: do VALUE=$(az keyvault secret show --vault-name $KEYVAULT --name $i --query value --output tsv) echo "::add-mask::$VALUE" - echo "::set-output name=$i::$VALUE" + echo "$i=$VALUE" >> $GITHUB_OUTPUT done - name: Decrypt secrets @@ -676,7 +676,7 @@ jobs: do VALUE=$(az keyvault secret show --vault-name $KEYVAULT --name $i --query value --output tsv) echo "::add-mask::$VALUE" - echo "::set-output name=$i::$VALUE" + echo "$i=$VALUE" >> $GITHUB_OUTPUT done - name: Upload Sources @@ -744,7 +744,7 @@ jobs: do VALUE=$(az keyvault secret show --vault-name $KEYVAULT --name $i --query value --output tsv) echo "::add-mask::$VALUE" - echo "::set-output name=$i::$VALUE" + echo "$i=$VALUE" >> $GITHUB_OUTPUT done - name: Notify Slack on failure diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b4a7f8ba..60c5398f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: id: branch run: | BRANCH_NAME=$(basename ${{ github.ref }}) - echo "::set-output name=branch-name::$BRANCH_NAME" + echo "branch-name=$BRANCH_NAME" >> $GITHUB_OUTPUT - name: Create GitHub deployment if: ${{ github.event.inputs.release_type != 'Dry Run' }} diff --git a/.github/workflows/version-auto-bump.yml b/.github/workflows/version-auto-bump.yml index b12756bff..2af6da884 100644 --- a/.github/workflows/version-auto-bump.yml +++ b/.github/workflows/version-auto-bump.yml @@ -29,7 +29,7 @@ jobs: NEW_PATCH=$((CURR_PATCH+1)) NEW_VER=$CURR_MAJOR.$NEW_PATCH echo "New Version: $NEW_VER" - echo "::set-output name=new-version::$NEW_VER" + echo "new-version=$NEW_VER" >> $GITHUB_OUTPUT trigger_version_bump: name: "Trigger version bump workflow" diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index b2cb101f4..9347255f7 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -37,8 +37,7 @@ jobs: git_commit_gpgsign: true - name: Create Version Branch - run: | - git switch -c version_bump_${{ github.event.inputs.version_number }} + run: git switch -c version_bump_${{ github.event.inputs.version_number }} - name: Bump Version - Android XML uses: bitwarden/gh-actions/version-bump@03ad9a873c39cdc95dd8d77dbbda67f84db43945 @@ -79,16 +78,15 @@ jobs: id: version-changed run: | if [ -n "$(git status --porcelain)" ]; then - echo "::set-output name=changes_to_commit::TRUE" + echo "changes_to_commit=TRUE" >> $GITHUB_OUTPUT else - echo "::set-output name=changes_to_commit::FALSE" + echo "changes_to_commit=FALSE" >> $GITHUB_OUTPUT echo "No changes to commit!"; fi - name: Commit files if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }} - run: | - git commit -m "Bumped version to ${{ github.event.inputs.version_number }}" -a + run: git commit -m "Bumped version to ${{ github.event.inputs.version_number }}" -a - name: Push changes if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}