Skip to content

Commit

Permalink
Fix release workflow release artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
xxfast committed Aug 14, 2021
1 parent af385fb commit 35ab2e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/libs/fabric-witness-${{ env.release_version }}.jar
asset_path: ./build/libs/fabric-witness.jar
asset_name: fabric-witness-${{ env.release_version }}.jar
asset_content_type: application/java-archive

- name: Isolate build artifact
- name: Move build artifact
run: |
mkdir ./build/libs/mods
mv ./build/libs/fabric-witness-${{ env.release_version }}.jar ./build/libs/mods/fabric-witness.jar
mv ./build/libs/fabric-witness.jar ./build/libs/mods/fabric-witness.jar
- name: Deploy to server
uses: sebastianpopp/ftp-action@releases/v2
with:
Expand Down

0 comments on commit 35ab2e6

Please sign in to comment.