Skip to content

Commit

Permalink
Add .zip publish
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonBein authored Aug 25, 2023
1 parent b1682f8 commit dd0306a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches: [ main ]

jobs:
build:
Release:

runs-on: ubuntu-latest
permissions:
Expand All @@ -35,7 +35,19 @@ jobs:
with:
run: mvn -B package --file pom.xml

- name: Publish to GitHub Packages Apache Maven
- name: Publish as Maven package to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml -DskipTests
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Prepare zipping
run: |
cp -r ./scylla/target/libs ./zip
mv *.jar ./zip/scylla.jar
- name: Publish as .zip
uses: thedoctor0/zip-release@0.7.1
with:
type: 'zip'
directory: './zip'
filename: 'scylla.zip'

0 comments on commit dd0306a

Please sign in to comment.