Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Eroshenko committed Apr 8, 2020
1 parent 3eb69ed commit 20f48a4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Collect Meta
id: meta
run: echo ::set-output name=VERSION::${GITHUB_REF:10}
- name: "Build"
run: ./gradlew build -Pversion=${GITHUB_REF:10}
- name: "Upload Zip"
Expand All @@ -21,17 +24,17 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/distribution/allure-pdf-${GITHUB_REF:10}.zip
asset_name: allure-pdf-${GITHUB_REF:10}.zip
asset_path: ./build/distribution/allure-pdf-${{ steps.meta.outputs.VERSION }}.zip
asset_name: allure-pdf-${{ steps.meta.outputs.VERSION }}.zip
asset_content_type: application/octet-stream
- name: "Upload Tar"
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./build/distribution/allure-pdf-${GITHUB_REF:10}.tar
asset_name: allure-pdf-${GITHUB_REF:10}.tar
asset_path: ./build/distribution/allure-pdf-${{ steps.meta.outputs.VERSION }}.tar
asset_name: allure-pdf-${{ steps.meta.outputs.VERSION }}.tar
asset_content_type: application/octet-stream
- name: "Build Native Image"
run: ./gradlew nativeImage -Pversion=${GITHUB_REF:10}
Expand Down

0 comments on commit 20f48a4

Please sign in to comment.