Skip to content

Commit

Permalink
Merge pull request rockcarver#40 from rockcarver/rfe#26wip
Browse files Browse the repository at this point in the history
Pipeline changes
  • Loading branch information
vscheuber committed Feb 12, 2022
2 parents d27e75f + 37812cf commit f2a87c4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/frodo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

- name: Build distribution binary
working-directory: ./dist
run: pkg -C Gzip -t node16-macos-x64 --out-path ./dist/bin/macos .
run: pkg -C Gzip -t node16-macos-x64 --out-path bin/macos -o frodo .
#
# Fail early on failing tests.
# Disabled because this project does not have tests. (TODO Add some example tests)
Expand All @@ -76,7 +76,7 @@ jobs:
#
- name: Sign distribution binary
working-directory: ./dist/bin/macos
run: codesign -f -s "Rock Carver" frodo --deep
run: codesign -f -s "Apple Distribution: Volker Scheuber (AV6L99G8W9)" frodo --deep

#
# Now send the product to Apple's notarization service and then
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:

- name: Build distribution binary
working-directory: ./dist
run: pkg -C Gzip -t node16-linux-x64 --out-path ./dist/bin/linux .
run: pkg -C Gzip -t node16-linux-x64 --out-path bin/linux -o frodo .

- name: Archive distribution binary
run: zip -r -Z bzip2 dist/frodo-linux.zip . -i dist/bin/linux/frodo
Expand All @@ -148,7 +148,7 @@ jobs:
uses: softprops/[email protected]
with:
files: |
dist/frodo-linux
dist/frodo-linux.zip
win-release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -181,12 +181,12 @@ jobs:

- name: Build distribution binary
working-directory: ./dist
run: pkg -C Gzip -t node16-win-x64 --out-path ./dist/bin/win .
run: pkg -C Gzip -t node16-win-x64 --out-path bin/win -o frodo .

- name: Archive distribution binary
run: zip -r -Z bzip2 dist/frodo-win.zip . -i dist/bin/win/frodo

- name: Release distribution binaries
uses: softprops/[email protected]
with:
files: dist/frodo-win.exe
files: dist/frodo-win.zip
1 change: 1 addition & 0 deletions dist/bin/linux/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
frodo
1 change: 1 addition & 0 deletions dist/bin/macos/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
frodo
1 change: 1 addition & 0 deletions dist/bin/win/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
frodo.exe

0 comments on commit f2a87c4

Please sign in to comment.