Skip to content

Commit

Permalink
Switch Release GHA to use Arifacts properly
Browse files Browse the repository at this point in the history
  • Loading branch information
KazWolfe committed May 19, 2022
1 parent 4060cb7 commit 7af4207
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,11 @@ jobs:
run: |
$fileHashInfo = Get-FileHash .\FFXIVPlugin\bin\Release\XIVDeck.FFXIVPlugin\latest.zip;
Write-Output "Hash of XIVDeck.FFXIVPlugin: $($fileHashInfo.Hash)";
- name: Upload Arifact to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: .\FFXIVPlugin\bin\Release\XIVDeck.FFXIVPlugin\latest.zip
asset_name: XIVDeck.FFXIVPlugin.zip
asset_content_type: application/zip
name: XIVDeck.FFXIVPlugin
path: .\FFXIVPlugin\bin\Release\XIVDeck.FFXIVPlugin\latest.zip

build-sdplugin:
name: Build XIVDeck Stream Deck Plugin
Expand All @@ -60,7 +56,12 @@ jobs:
run: (cd dist && zip -r dev.wolf.xivdeck.streamDeckPlugin dev.wolf.xivdeck.sdPlugin)
- name: Report Build Hash
run: echo "[Build Audit] $(sha256sum dist/dev.wolf.xivdeck.streamDeckPlugin)"
- name: Upload Arifact to Release
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: XIVDeck.SDPlugin
path: ./SDPlugin/dist/dev.wolf.xivdeck.streamDeckPlugin
- name: Add Artifact to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7af4207

Please sign in to comment.