Skip to content

Commit

Permalink
Fix deprecated set-output commands
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos committed Oct 9, 2024
1 parent 320429b commit 764b04e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
id: get_tag_name
run: |
TAG="${GITHUB_REF##*/}"
echo ::set-output name=AVRDUDE_TAG::v${TAG%%-*}
echo "{AVRDUDE_TAG}={v${TAG%%-*}}" >> $GITHUB_OUTPUT
# this repo should contain only the patches that could not be upstreamed and the release CI nothing else
- name: Checkout avrdude-packing repository
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
run: |
wget -q -P /tmp https://github.com/fsaintjacques/semver-tool/archive/3.2.0.zip
unzip -p /tmp/3.2.0.zip semver-tool-3.2.0/src/semver >/tmp/semver && chmod +x /tmp/semver
if [[ "$(/tmp/semver get prerel "${GITHUB_REF/refs\/tags\//}")" ]]; then echo "::set-output name=IS_PRE::true"; fi
if [[ "$(/tmp/semver get prerel "${GITHUB_REF/refs\/tags\//}")" ]]; then echo "{IS_PRE}={true}" >> $GITHUB_OUTPUT; fi
- name: Generate package index entry
run: |
Expand Down

0 comments on commit 764b04e

Please sign in to comment.