Skip to content

Commit

Permalink
add CLI to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRentzCAU committed Aug 16, 2024
1 parent 6fbcceb commit 40f9822
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,10 @@ jobs:
path: build/de.cau.cs.kieler.spviz.repository/target/repository/**/*
retention-days: 14
if-no-files-found: error
- name: Archive CLI
uses: actions/upload-artifact@v4
with:
name: SPViz CLI
path: cli/de.cau.cs.kieler.spviz.cli/target/spviz-cli.jar
retention-days: 14
if-no-files-found: error
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: "build/de.cau.cs.kieler.spviz.repository/target/de.cau.cs.kieler.spviz.repository-${{ steps.release-tag.outputs.SHORTENED_GITHUB_REF }}.zip application/zip"
args: "build/de.cau.cs.kieler.spviz.repository/target/de.cau.cs.kieler.spviz.repository-${{ steps.release-tag.outputs.SHORTENED_GITHUB_REF }}.zip application/zip"
- name: Upload CLI
uses: JasonEtco/upload-to-release@d648f1babf776de9cad881320bd9e9818fc3b262
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: "cli/de.cau.cs.kieler.spviz.cli/target/spviz-cli.jar"

0 comments on commit 40f9822

Please sign in to comment.