Skip to content

Commit

Permalink
Address set-output deprecation (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Oct 15, 2022
1 parent c6e4bb6 commit 903628b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-release-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
id: set-version
run: |
version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "::set-output name=project-version::$version"
echo "project-version=$version" >> $GITHUB_OUTPUT
- name: Fetch artifact
id: fetch-artifact
run: |
Expand All @@ -27,7 +27,7 @@ jobs:
FILE_NAME=jenkins-plugin-manager
PROJECT_VERSION=${{ steps.set-version.outputs.project-version }}
echo $PROJECT_VERSION
echo "::set-output name=file-name::$FILE_NAME"
echo "file-name=$FILE_NAME" >> $GITHUB_OUTPUT
wget -q https://repo.jenkins-ci.org/releases/$GROUP_ID/$ARTIFACT_ID/$PROJECT_VERSION/$ARTIFACT_ID-$PROJECT_VERSION.jar \
-O $FILE_NAME-$PROJECT_VERSION.jar
- name: Upload Release Asset
Expand Down

0 comments on commit 903628b

Please sign in to comment.