-
-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thomas Nordquist
committed
May 10, 2024
1 parent
a6e16dc
commit 1419938
Showing
4 changed files
with
814 additions
and
756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package.ts @thomasnordquist | ||
.github @thomasnordquist | ||
scripts @thomasnordquist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- tnordquist/add-workflows | ||
|
||
jobs: | ||
example_matrix: | ||
strategy: | ||
matrix: | ||
build: | ||
- os: ubuntu-latest | ||
task: linux | ||
- os: windows-latest | ||
task: win | ||
- os: macos-latest | ||
task: mac | ||
runs-on: ${{ matrix.build.os }} | ||
steps: | ||
- if: matrix.build.os == 'ubuntu-latest' | ||
run: sudo snap install snapcraft --classic | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
- run: npm install -g yarn | ||
- run: yarn | ||
- run: yarn build | ||
- run: yarn prepare-release | ||
- run: yarn package ${{ matrix.build.task }} | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.