Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacrlevin committed Dec 26, 2023
1 parent da2715c commit 75d89f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/Deploy_Desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ jobs:
$appxHash.Hash | Out-File -Encoding 'UTF8' "./ReleaseSigned/PresenceLight.Package_${{ env.VERSION }}.0_x64_x86_ARM64.appxbundle.sha256"
shell: pwsh


- name: Create GitHub Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/WinGet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
publish:
runs-on: ubuntu-latest
runs-on: windows-latest

env:
WINGETCREATE_TOKEN: ${{ secrets.WINGETCREATE_TOKEN }}
Expand All @@ -23,12 +23,12 @@ jobs:
name: Download Signing Scripts Artifacts
with:
name: SigningScripts
path: ./SigningScripts
path: .\SigningScripts

- name: Set VERSION Environment Variable (PUSH)
if: ${{ github.event_name == 'push' }}
run: |
$version = Get-Content "./SigningScripts/version.txt"
$version = Get-Content ".\SigningScripts\version.txt"
echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh

Expand All @@ -40,9 +40,9 @@ jobs:
shell: pwsh

- name: Create manifest and submit PR
working-directory: ${{ github.workspace }}/SigningScripts/winget
working-directory: ${{ github.workspace }}\SigningScripts\winget
run: |
./build.ps1 -Version "${{ env.VERSION }}" -Token "${{ secrets.WINGETCREATE_TOKEN }}"
.\build.ps1 -Version "${{ env.VERSION }}" -Token "${{ secrets.WINGETCREATE_TOKEN }}"
shell: pwsh

- name: Setup tmate session
Expand Down
3 changes: 2 additions & 1 deletion Build/scripts/hash-files.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ mkdir .\Download

Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-x86.zip.sha256" -OutFile ".\Download\x86-zip.sha256"
Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-x64.zip.sha256" -OutFile ".\Download\x64-zip.sha256"
Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-win-arm64.zip.sha256" -OutFile ".\Download\win-arm64-zip.sha256"
Invoke-WebRequest -Uri "${GitHubReleaseUrl}v${Version}/PresenceLight.${Version}-win.arm64.zip.sha256" -OutFile ".\Download\win-arm64-zip.sha256"

$hash86 = get-content ".\Download\x86-zip.sha256"
$hash64 = get-content ".\Download\x64-zip.sha256"
$hashARM = get-content ".\Download\win-arm64-zip.sha256"
Expand Down

0 comments on commit 75d89f4

Please sign in to comment.