Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcat101 committed Jan 25, 2023
1 parent d0c2c64 commit 1085f80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- run: ./gradlew build
- run: echo "VERSION=$(ls build/libs | cut -d "-" -f 2- | cut -d "." -f 1)" >> $GITHUB_ENV
- run: echo "FILE=$(ls -d build/libs/*)" >> $GITHUB_ENV
- run: echo "FILENAME=$(ls build/libs)" >> $GITHUB_ENV

- uses: actions/create-release@v1
env:
Expand All @@ -29,7 +30,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.FILE }}
asset_name: ${{ env.VERSION }}.jar
asset_name: ${{ env.FILENAME }}
asset_content_type: application/java-archive

- uses: eregon/publish-release@v1
Expand Down

0 comments on commit 1085f80

Please sign in to comment.