Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bubbles-wow authored Aug 8, 2023
1 parent 5739138 commit 7977aee
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,22 @@ jobs:
id: result
uses: actions/upload-artifact@v1
with:
name: my-artifact
name: MicrosoftCorporationII.WindowsSubsystemForAndroid_${{ steps.download.outputs.Version }}_neutral_~_8wekyb3d8bbwe.Msixbundle
path: ${{ github.workspace }}/output/MicrosoftCorporationII.WindowsSubsystemForAndroid_${{ steps.download.outputs.Version }}_neutral_~_8wekyb3d8bbwe.Msixbundle

- name: File Checksum ✔️
id: checkhash
run: |
$hash = Get-FileHash ${{ github.workspace }}/output/MicrosoftCorporationII.WindowsSubsystemForAndroid_${{ steps.download.outputs.Version }}_neutral_~_8wekyb3d8bbwe.Msixbundle | Select-Object -ExpandProperty Hash
$hash = $hash.ToLower()
("hash=" + $hash) >> $env:GITHUB_OUTPUT
- name: Update build to release 🤌
uses: softprops/[email protected]
with:
files: ${{ github.workspace }}/output/MicrosoftCorporationII.WindowsSubsystemForAndroid_${{ steps.download.outputs.Version }}_neutral_~_8wekyb3d8bbwe.Msixbundle
fail_on_unmatched_files: true
append_body: true
tag_name: ${{ steps.download.outputs.Version }}
body: ${{ steps.checkhash.outputs.hash }} MicrosoftCorporationII.WindowsSubsystemForAndroid_${{ steps.download.outputs.Version }}_neutral_~_8wekyb3d8bbwe.Msixbundle
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7977aee

Please sign in to comment.