-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from p2plabsxyz/v1
feat: Release v1.0.0-0 - Public Beta Launch
- Loading branch information
Showing
74 changed files
with
18,929 additions
and
10,046 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,47 @@ | ||
# https://github.com/AgregoreWeb/agregore-browser/blob/master/.github/workflows/build.yml | ||
|
||
name: Build/release | ||
|
||
on: | ||
push: | ||
## Run on tags starting with `v*` | ||
tags: | ||
- 'v*' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
continue-on-error: true | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Install libarchive-tools for pacman build # Related https://github.com/electron-userland/electron-builder/issues/4181 | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: sudo apt-get install libarchive-tools | ||
|
||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
|
||
- name: Install Node.js, NPM and Yarn | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 'lts/*' | ||
|
||
- name: Non-tag specific build step | ||
if: ${{ !startsWith(github.ref, 'refs/tags/v') }} | ||
run: echo "This build was triggered without a tag." | ||
|
||
- name: Build binaries with electron-builder | ||
uses: coparse-inc/action-electron-builder@29a7606c7d726b5b0f4dc2f334026f58bea0e1bb # v1.6.0 but safer than a tag that can be changed | ||
with: | ||
max_attempts: 2 | ||
github_token: ${{ secrets.github_token }} | ||
release: ${{ startsWith(github.ref, 'refs/tags/v') }} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.