Skip to content

Commit

Permalink
Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrot committed Apr 28, 2024
1 parent 262fde2 commit aa16ec4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
if: ${{ steps.get_version.outputs.exists == 'true' }}
run: |
Move-Item .\build\windows\x64\runner\Release\wsl2distromanager.msix .\wsl2-distro-manager-v${{ steps.get_version.outputs.version }}-nightly.msix
Copy-Item -Path ./windows-dlls/* -Destination ./build/windows/runner/Release/
Compress-Archive -Path ./build/windows/runner/Release/* -DestinationPath .\wsl2-distro-manager-v${{ steps.get_version.outputs.version }}-nightly.zip
Copy-Item -Path ./windows-dlls/* -Destination ./build/windows/x64/runner/Release/
Compress-Archive -Path ./build/windows/x64/runner/Release/* -DestinationPath .\wsl2-distro-manager-v${{ steps.get_version.outputs.version }}-nightly.zip
- uses: actions/upload-artifact@v3
name: Create nightly release (ZIP)
if: ${{ steps.get_version.outputs.exists == 'true' }}
Expand All @@ -78,8 +78,8 @@ jobs:
if: ${{ steps.get_version.outputs.exists == 'false' && github.ref == 'refs/heads/main' }}
run: |
Move-Item .\build\windows\x64\runner\Release\wsl2distromanager.msix .\wsl2-distro-manager-v${{ steps.get_version.outputs.version }}-unsigned.msix
Copy-Item -Path ./windows-dlls/* -Destination ./build/windows/runner/Release/
Compress-Archive -Path ./build/windows/runner/Release/* -DestinationPath .\wsl2-distro-manager-v${{ steps.get_version.outputs.version }}.zip
Copy-Item -Path ./windows-dlls/* -Destination ./build/windows/x64/runner/Release/
Compress-Archive -Path ./build/windows/x64/runner/Release/* -DestinationPath .\wsl2-distro-manager-v${{ steps.get_version.outputs.version }}.zip
gh release create v${{ steps.get_version.outputs.version }} .\wsl2-distro-manager-v${{ steps.get_version.outputs.version }}.zip .\wsl2-distro-manager-v${{ steps.get_version.outputs.version }}-unsigned.msix --generate-notes --notes "This is an automated release."
shell: pwsh
env:
Expand Down

0 comments on commit aa16ec4

Please sign in to comment.