Skip to content

Commit

Permalink
[ci] WIP on packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
avilleret committed Nov 2, 2021
1 parent c7f08a0 commit 4d13714
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ossia-max.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
upload_release:
runs-on: ubuntu-latest
needs: [ build-macos, build-windows ]
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/download-artifact@v2
with:
Expand All @@ -110,9 +111,10 @@ jobs:
shell: bash
run: |
ls
zip -r ossia-max-${GITHUB_REF}.zip ossia
SHORT=${GITHUB_REF:11} # remove the 'refs/tags/' prefix
SLUG=${SHORT//\//_} # replace '/' with '_'
zip -r ossia-max-${SLUG}.zip ossia
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ossia-max*.zip
4 changes: 3 additions & 1 deletion .github/workflows/ossia-pd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ jobs:
shell: bash
run: |
ls
zip -r ossia-pd-${GITHUB_REF}.zip ossia
SHORT=${GITHUB_REF:11} # remove the 'refs/tags/' prefix
SLUG=${SHORT//\//_} # replace '/' with '_'
zip -r ossia-pd-${SLUG}.zip ossia
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ossia-unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ jobs:
shell: bash
run: |
ls
zip -r ossia-unity-${GITHUB_REF}.zip ossia
SHORT=${GITHUB_REF:11} # remove the 'refs/tags/' prefix
SLUG=${SHORT//\//_} # replace '/' with '_'
zip -r ossia-unity-${SLUG}.zip ossia
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 4d13714

Please sign in to comment.