Skip to content

Commit

Permalink
CI: Replace deprecated set-output pattern in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
barrbrain committed Apr 10, 2023
1 parent 6d3de66 commit 9f0550f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
id: tagName
run: |
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
echo "::set-output name=version::$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Package pre-release binaries
if: >
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
id: tagName
run: |
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
echo "::set-output name=version::$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Create a pre-release tar
if: >
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
id: tagName
run: |
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
echo "::set-output name=version::$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Create a pre-release zip
if: >
Expand Down Expand Up @@ -377,14 +377,14 @@ jobs:
id: tagName
run: |
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
echo "::set-output name=version::$VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Get date for a scheduled pre-release
if: github.event_name == 'schedule'
id: tagDate
run: |
DATE=$(date "+%Y%m%d")
echo "::set-output name=date::$DATE"
echo "date=$DATE" >> $GITHUB_OUTPUT
- name: Create a scheduled pre-release
if: github.event_name == 'schedule'
Expand Down

0 comments on commit 9f0550f

Please sign in to comment.