Skip to content

Commit

Permalink
Add Linux to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba2k2 committed Apr 5, 2024
1 parent c52f674 commit 102eb38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,23 @@ jobs:
os:
- runs-on: windows-latest
pio-env: windows_x86
post-build: ""
output-bin: firefox-webserial.exe
- runs-on: ubuntu-latest
pio-env: linux_x86_64
post-build: |
cd native/.pio/build/linux_x86_64/
cp firefox-webserial firefox-webserial-linux-x86-64
output-bin: firefox-webserial-linux-x86-64
with:
runs-on: ${{ matrix.os.runs-on }}
project-directory: ./native/
args: -e ${{ matrix.os.pio-env }}
post-build: ${{ matrix.os.post-build }}
files: |
native/.pio/build/${{ matrix.os.pio-env }}/${{ matrix.os.output-bin }}
output-artifact: native-${{ matrix.os.pio-env }}

build-nsis:
name: Build NSIS installer
needs:
Expand Down Expand Up @@ -91,6 +100,7 @@ jobs:
with:
files: |
src/*.exe
src/firefox-webserial-*
${{ steps.sign.outputs.target }}
fail_on_unmatched_files: false
generate_release_notes: true

0 comments on commit 102eb38

Please sign in to comment.