-
Notifications
You must be signed in to change notification settings - Fork 11
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 #292 from lightningrodlabs/release-dry-run
add release dry run
- Loading branch information
Showing
3 changed files
with
50 additions
and
3 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,43 @@ | ||
name: Release Dry Run | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
build-test: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Windows only, install wget | ||
if: ${{ runner.os == 'Windows' }} | ||
run: | | ||
choco install wget --no-progress | ||
- name: Install nodejs dependencies | ||
run: | | ||
npm install | ||
npm run web-install | ||
npm run electron-install | ||
shell: bash | ||
- name: setup for codesigning (macos only) | ||
if: ${{ runner.os == 'macOs' }} | ||
uses: figleafteam/import-codesign-certs@v2 | ||
with: | ||
p12-file-base64: ${{ secrets.HBE_APPLE_CERTIFICATE_BASE64 }} | ||
p12-password: ${{ secrets.HBE_APPLE_CERTIFICATE_PASS }} | ||
- name: build acorn (and notarize it- macos only) | ||
env: | ||
APPLE_DEV_IDENTITY: ${{ secrets.APPLE_DEV_IDENTITY }} | ||
APPLE_ID_EMAIL: ${{ secrets.APPLE_ID_EMAIL }} | ||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} | ||
DEBUG: electron-osx-sign*,electron-notarize* | ||
run: | | ||
npm run build | ||
shell: bash |
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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# bump this in tandem with bumping the INTEGRITY_VERSION_NUMBER | ||
curl -sL --insecure https://github.com/lightningrodlabs/acorn-happ/releases/download/v6.0.0/profiles.happ -o electron/binaries/profiles.happ | ||
curl -sL --insecure https://github.com/lightningrodlabs/acorn-happ/releases/download/v6.0.0/projects.happ -o electron/binaries/projects.happ | ||
mkdir -p electron/binaries | ||
wget https://github.com/lightningrodlabs/acorn-happ/releases/download/v6.0.0/profiles.happ -O electron/binaries/profiles.happ | ||
wget https://github.com/lightningrodlabs/acorn-happ/releases/download/v6.0.0/projects.happ -O electron/binaries/projects.happ |