Skip to content

Commit

Permalink
fix release assets workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Walid Lezzar committed Mar 22, 2020
1 parent ad52c59 commit 78250db
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/upload-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ jobs:
architecture: x64

- name: Build
run: ./gradlew clean zoe-core:shadowJar

- name: Package
id: package
id: build
run: |
./dev/scripts/packages-without-runtime.sh
./gradlew clean zoe-core:shadowJar
# retrieve jar
zoe_jar_path=$(ls -t zoe-core/build/libs/zoe-core-*.jar | head -n 1)
Expand All @@ -53,8 +50,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.fetch_release_data.outputs.upload_url }}
asset_path: ${{ steps.package.outputs.zoe_jar_path }}
asset_name: ${{ steps.package.outputs.zoe_jar_name }}
asset_path: ${{ steps.build.outputs.zoe_jar_path }}
asset_name: ${{ steps.build.outputs.zoe_jar_name }}
asset_content_type: application/zip

release-runtimeless:
Expand Down

0 comments on commit 78250db

Please sign in to comment.