Skip to content

Commit

Permalink
fix windows?
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwalVandana committed Nov 22, 2024
1 parent 6227d7d commit cf68662
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cross-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install NSIS
uses: repolevedavaj/[email protected]
with:
nsis-version: 3.08
nsis-version: '3.10'
- name: Run NSIS and zip dist
run: |
makensis install-scripts/windows.nsi
Expand Down Expand Up @@ -70,14 +70,14 @@ jobs:
install-location: /usr/local/bin/maestro-bundle/
- name: Rename .pkg, compress dist
run: |
mv "${{ steps.pkgbuild.outputs.output-path }}" "${{ steps.pyinstaller.outputs.executable_path }}/${{ matrix.os == 'macos-latest' && 'maestro-cli-apple-silicon' || 'maestro-cli-mac-intel' }}.pkg"
tar -czf "${{ steps.pyinstaller.outputs.executable_path }}/${{ matrix.os == 'macos-latest' && 'maestro-cli-apple-silicon' || 'maestro-cli-mac-intel' }}.tar.gz" "${{ steps.pyinstaller.outputs.executable_path }}/maestro"
mv "${{ steps.pkgbuild.outputs.output-path }}" "${{ steps.pyinstaller.outputs.executable_path }}/${{ matrix.os == 'macos-latest' && 'maestro-apple-silicon' || 'maestro-mac-intel' }}.pkg"
tar -czf "${{ steps.pyinstaller.outputs.executable_path }}/${{ matrix.os == 'macos-latest' && 'maestro-apple-silicon' || 'maestro-mac-intel' }}.tar.gz" "${{ steps.pyinstaller.outputs.executable_path }}/maestro"
- name: Upload to release
uses: softprops/action-gh-release@v2
with:
files: |
${{ steps.pyinstaller.outputs.executable_path }}/${{ matrix.os == 'macos-latest' && 'maestro-cli-apple-silicon' || 'maestro-cli-mac-intel' }}.pkg
${{ steps.pyinstaller.outputs.executable_path }}/${{ matrix.os == 'macos-latest' && 'maestro-cli-apple-silicon' || 'maestro-cli-mac-intel' }}.tar.gz
${{ steps.pyinstaller.outputs.executable_path }}/${{ matrix.os == 'macos-latest' && 'maestro-apple-silicon' || 'maestro-mac-intel' }}.pkg
${{ steps.pyinstaller.outputs.executable_path }}/${{ matrix.os == 'macos-latest' && 'maestro-apple-silicon' || 'maestro-mac-intel' }}.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}
draft: true
prerelease: true
Expand Down

0 comments on commit cf68662

Please sign in to comment.