Skip to content

Commit

Permalink
#25 fix bug on release
Browse files Browse the repository at this point in the history
  • Loading branch information
kasramp committed Apr 29, 2023
1 parent d2947da commit 289910f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build_and_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
pwd ${GITHUB_WORKSPACE}
chmod +x "${GITHUB_WORKSPACE}/util/release.sh"
./${GIHUB_WORKSPACE}/util/release.sh
- uses: actions/upload-artifact@v3
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ github.ref_name }}-jar
path: target/*.jar
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: master
fetch-depth: 0
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ${{ github.ref_name }}-jar
- name: Checkout
uses: actions/checkout@v3
name: master-jar
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 289910f

Please sign in to comment.