Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,28 +61,28 @@ jobs:
- os: ubuntu-latest
TARGET: ubuntu
CMD_BUILD: >
pyinstaller cli.spec && \
pyinstaller cli.spec &&
mv dist/cli fosslight_bin_ubuntu
OUT_FILE_NAME: fosslight_bin_ubuntu
ASSET_MIME: application/octet-stream
- os: macos-latest
TARGET: macos
CMD_BUILD: >
pyinstaller cli.spec && \
pyinstaller cli.spec &&
mv dist/cli fosslight_bin_macos
OUT_FILE_NAME: fosslight_bin_macos
ASSET_MIME: aapplication/x-mach-binary
ASSET_MIME: application/x-mach-binary
- os: windows-latest
TARGET: windows
CMD_BUILD: >
pyinstaller cli.spec && \
pyinstaller cli.spec &&
move dist/cli.exe fosslight_bin_windows.exe
OUT_FILE_NAME: fosslight_bin_windows.exe
ASSET_MIME: application/vnd.microsoft.portable-executable
steps:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
Expand All @@ -98,7 +98,7 @@ jobs:
id: upload-release-asset
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
with:
asset_path: ./${{ matrix.OUT_FILE_NAME}}
deploy:
Expand All @@ -107,7 +107,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down