Skip to content

Commit

Permalink
chore: deprecated ::set-output removed
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev committed May 28, 2024
1 parent 32b2bd4 commit d1472e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17 for deploy to S3 bucket
- name: Set up JDK and Maven
uses: actions/setup-java@v4
with:
distribution: adopt
Expand Down Expand Up @@ -88,8 +88,8 @@ jobs:
run: mvn --batch-mode clean package
- name: Extract artefact version
id: artefact_version
run: echo ::set-output name=version::$(mvn help:evaluate -Dexpression=project.version
-q -DforceStdout)
run: echo "name=version::$(mvn help:evaluate -Dexpression=project.version
-q -DforceStdout)" >> $GITHUB_OUTPUT
- name: Publish to S3 bucket
if: ${{ !endsWith(steps.artefact_version.outputs.version, '-SNAPSHOT') }}
run: mvn --batch-mode deploy -Ps3Deploy
Expand Down

0 comments on commit d1472e9

Please sign in to comment.