Skip to content

Commit

Permalink
updated workflow publish release with correct flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-null-undefined committed Oct 14, 2021
1 parent 76c06fc commit d026437
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,15 @@ jobs:
cp resourcepack/mcide.zip upload
cp target/mcide*.jar upload
- name: Get realease version from pom.xml
id: get-version
uses: jactions/[email protected]

- name: Upload files to a GitHub release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: upload/*
tag: latest
tag: ${{ steps.get-version.outputs.version }}
overwrite: true
file_glob: true
file_glob: true
6 changes: 5 additions & 1 deletion .github/workflows/maven_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,15 @@ jobs:
cp resourcepack/mcide.zip upload
cp target/mcide*.jar upload
- name: Get realease version from pom.xml
id: get-version
uses: jactions/[email protected]

- name: Upload files to a GitHub release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: upload/*
tag: development
tag: dev-${{ steps.get-version.outputs.version }}
overwrite: true
file_glob: true

0 comments on commit d026437

Please sign in to comment.