This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
1 parent
7782e43
commit fea44a7
Showing
2 changed files
with
20 additions
and
13 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 |
---|---|---|
|
@@ -7,11 +7,11 @@ on: | |
|
||
jobs: | ||
compile-and-post: | ||
runs-on: ${{ matrix.os }} | ||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: electronuserland/builder:wine | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Checkout π | ||
|
@@ -22,16 +22,22 @@ jobs: | |
with: | ||
node-version-file: '.nvmrc' | ||
|
||
- name: Build/release Electron app | ||
uses: samuelmeuli/[email protected] | ||
with: | ||
# GitHub token, automatically provided to the action | ||
# (No need to define this secret in the repo settings) | ||
github_token: ${{ secrets.github_token }} | ||
- name: Install Dependencies π¦ | ||
run: yarn install | ||
|
||
- name: Build π | ||
run: yarn dist:all | ||
|
||
# If the commit is tagged with a version (e.g. "v1.0.0"), | ||
# release the app after building | ||
release: ${{ startsWith(github.ref, 'refs/tags/v') }} | ||
- name: Upload Release π | ||
uses: softprops/[email protected] | ||
with: | ||
files: | | ||
./dist/*.exe | ||
./dist/*.deb | ||
./dist/*.AppImage | ||
./dist/*.rpm | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
prettier: | ||
runs-on: ubuntu-latest | ||
|
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