Skip to content

Commit

Permalink
Update template.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Youkii-Chen authored Nov 19, 2021
1 parent d77deea commit 7519e57
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,19 @@ jobs:
run: wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar

- name: Build Jars
run: java -jar BuildTools.jar --rev latest
run: |
mkdir ./outputs
java -jar BuildTools.jar --rev latest --output-dir ./outputs
- name: Upload to release
uses: ncipollo/[email protected]
with:
name: Ver.Latest
allowUpdates: true
replacesArtifacts: true
tag: BuildRelease
# commit: ${{ env.CURRENT_BRANCH }}
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: ./outputs/*

- run: ls -lh

0 comments on commit 7519e57

Please sign in to comment.