Skip to content

Commit

Permalink
Merge pull request #292 from lightningrodlabs/release-dry-run
Browse files Browse the repository at this point in the history
add release dry run
  • Loading branch information
Connoropolous authored Jun 15, 2023
2 parents 2cd5d69 + 0803063 commit 65da793
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 3 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/dry-run.yml
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
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
# depending on the windows command (when we are ready to build for it), may have to check which os currently on
- name: Windows only, install wget
if: ${{ runner.os == 'Windows' }}
run: |
choco install wget --no-progress
- name: Install nodejs dependencies
run: |
npm install
Expand Down
5 changes: 3 additions & 2 deletions scripts/download-happs.sh
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

0 comments on commit 65da793

Please sign in to comment.