Skip to content

Commit

Permalink
release.yml: Use "${GITHUB_ENV}" instead of $GITHUB_OUTPUT, as …
Browse files Browse the repository at this point in the history
  • Loading branch information
rgoldberg committed Nov 16, 2024
1 parent c91de70 commit 2305789
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@ jobs:
- id: dry_run
run: |
echo "DRY_RUN=false" >>"$GITHUB_OUTPUT"
echo "DRY_RUN=false" >>"${GITHUB_ENV}"
- id: mas_version
run: |
echo "MAS_VERSION=${{ github.event.release.tag_name }}" >>"$GITHUB_OUTPUT"
echo "MAS_VERSION=${{ github.event.release.tag_name }}" >>"${GITHUB_ENV}"
- id: pre_release
run: |
echo "PRE_RELEASE=$(grep -q '-' <<<$MAS_VERSION && echo 'true' || echo 'false')" >>"$GITHUB_OUTPUT"
echo "PRE_RELEASE=$(grep -q '-' <<<$MAS_VERSION && echo 'true' || echo 'false')" >>"${GITHUB_ENV}"
- id: release_branch
run: |
echo "RELEASE_BRANCH=releases/release-${{ github.event.release.tag_name }}" >>"$GITHUB_OUTPUT"
echo "RELEASE_BRANCH=releases/release-${{ github.event.release.tag_name }}" >>"${GITHUB_ENV}"
- id: tap_path
run: |
echo "TAP_PATH=\"$(brew --repo mas-cli/tap)\"" >>"$GITHUB_OUTPUT"
echo "TAP_PATH=\"$(brew --repo mas-cli/tap)\"" >>"${GITHUB_ENV}"
prepare-release:
runs-on: macos-15
Expand Down

0 comments on commit 2305789

Please sign in to comment.