Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalseeland committed May 3, 2023
1 parent 47ab9f2 commit e64a348
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,21 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Test and Package with Maven
run: mvn -B test package
- uses: actions/upload-artifact@master
with:
name: ilserver-jar
path: target/ilserver.jar
deploy:
runs-on: ubuntu-latest
needs: [build]
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }}
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@master
with:
name: ilserver-jar
path: ilserver.jar
- uses: ncipollo/release-action@v1
with:
artifacts: "target/ilserver.jar"
artifacts: "ilserver.jar"

0 comments on commit e64a348

Please sign in to comment.