Skip to content

Commit

Permalink
πŸ› fix: Fix releases
Browse files Browse the repository at this point in the history
  • Loading branch information
queer committed Mar 7, 2022
1 parent 37fc615 commit b0d733a
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,12 @@ jobs:
with:
java-version: "17"
- name: "Run build"
run: "mvn clean package"
run: |
bash build.sh
- name: "Create release"
uses: "actions/create-release@v1"
with:
draft: false
prerelease: false
release_name: ${{ github.ref }}
tag_name: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ github.token }}
- name: "Upload JAR"
uses: "actions/upload-release-asset@v1"
uses: "softprops/action-gh-release@v1"
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "target/utt"
asset_name: "utt.jar"
asset_content_type: "application/java-archive"
files: |
target/utt

0 comments on commit b0d733a

Please sign in to comment.