Skip to content

Commit

Permalink
ci(release): fix set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
leroyguillaume committed Jul 24, 2022
1 parent 00f2e36 commit 399f49f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: ./gradlew jar
- name: Create release
Expand All @@ -30,6 +30,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/libs/keycloak-bcrypt-${{ env.RELEASE_VERSION }}.jar
asset_name: keycloak-bcrypt-${{ env.RELEASE_VERSION }}.jar
asset_path: ./build/libs/keycloak-bcrypt-${{ env.GITHUB_REF_NAME }}.jar
asset_name: keycloak-bcrypt-${{ env.GITHUB_REF_NAME }}.jar
asset_content_type: application/java-archive

0 comments on commit 399f49f

Please sign in to comment.