Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: fix release artifact path and added repo to cli args (#42)
  • Loading branch information
Xenira committed Dec 21, 2023
1 parent 680cd9e commit 7bf1dd8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release-please.yml
Expand Up @@ -26,6 +26,7 @@ jobs:
with:
workflow: "dotnet.yml"
name: release-artifact
skip_unpack: true
- name: Download Tobey.UnityAudio
if: ${{ steps.release.outputs.release_created }}
uses: dsaltares/fetch-gh-release-asset@1.1.1
Expand All @@ -37,6 +38,8 @@ jobs:
- name: Zip release artifact
if: ${{ steps.release.outputs.release_created }}
run: |
mkdir artifact
unzip release-artifact.zip -d ./artifact/
unzip Tobey.UnityAudio.zip -d ./artifact/
cd artifact && zip -r techtonica_vr-${{ steps.release.outputs.tag_name }}.zip ./ && cd ..
mv artifact/techtonica_vr-${{ steps.release.outputs.tag_name }}.zip .
Expand All @@ -45,7 +48,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ steps.release.outputs.tag_name }} techtonica_vr-${{ steps.release.outputs.tag_name }}.zip
gh release upload ${{ steps.release.outputs.tag_name }} techtonica_vr-${{ steps.release.outputs.tag_name }}.zip --repo Xenira/TechtonicaVR
- name: Upload to Thunderstore
uses: GreenTF/upload-thunderstore-package@v4.1
if: ${{ steps.release.outputs.release_created }}
Expand Down

0 comments on commit 7bf1dd8

Please sign in to comment.