Skip to content

Commit

Permalink
try full flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mholtzman committed Mar 12, 2024
1 parent c947de3 commit 07a4df7
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 47 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/canary-prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,53 +37,53 @@ jobs:
release_branches: canary
custom_tag: ${{ steps.package-version.outputs.current-version }}
- name: create new draft release
run: gh release create v${{ steps.package-version.outputs.current-version }} --draft --prerelease --title ${{ steps.package-version.outputs.current-version }}
run: gh release create v${{ steps.package-version.outputs.current-version }} --generate-notes --draft --prerelease --title ${{ steps.package-version.outputs.current-version }}

# build_release:
# needs: [create_canary_release]
# strategy:
# fail-fast: false
# matrix:
# os:
# - ubuntu-latest
# include:
# - os: macos-11
# cert_key: APPLE_DEVELOPER_SIGNING_CERTIFICATE
# cert_password_key: APPLE_CERTIFICATE_PASSWORD
# apple_id_key: APPLE_ID
# apple_id_password_key: APPLE_ID_PASSWORD
# - os: windows-latest
# cert_key: WINDOWS_CSC_CERTIFICATE
# cert_password_key: WINDOWS_CSC_PASSWORD
build_release:
needs: [create_canary_release]
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
include:
- os: macos-11
cert_key: APPLE_DEVELOPER_SIGNING_CERTIFICATE
cert_password_key: APPLE_CERTIFICATE_PASSWORD
apple_id_key: APPLE_ID
apple_id_password_key: APPLE_ID_PASSWORD
- os: windows-latest
cert_key: WINDOWS_CSC_CERTIFICATE
cert_password_key: WINDOWS_CSC_PASSWORD

# runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.os }}

# env:
# CSC_LINK: ${{ secrets[matrix.cert_key] }}
# CSC_KEY_PASSWORD: ${{ secrets[matrix.cert_password_key] }}
# APPLE_ID: ${{ secrets[matrix.apple_id_key] }}
# APPLE_ID_PASSWORD: ${{ secrets[matrix.apple_id_password_key] }}
env:
CSC_LINK: ${{ secrets[matrix.cert_key] }}
CSC_KEY_PASSWORD: ${{ secrets[matrix.cert_password_key] }}
APPLE_ID: ${{ secrets[matrix.apple_id_key] }}
APPLE_ID_PASSWORD: ${{ secrets[matrix.apple_id_password_key] }}

# steps:
# - uses: actions/checkout@v4
# with:
# ref: ${{ inputs.ref }}
# - uses: actions/setup-node@v4
# with:
# node-version: 18.12.1
# cache: 'npm'
# - name: install Linux dev tools
# if: matrix.os == 'ubuntu-latest'
# run: |
# sudo apt update -y
# sudo apt install -y libudev-dev
# - name: create NPM config file
# run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ./.npmrc
# - run: npm run setup:ci
# - run: npm run compile
# - run: npm run test:unit:main -- --testTimeout=5000 --verbose --detectOpenHandles --forceExit
# - run: npm run bundle
# - name: Sleep for 4 seconds
# shell: bash
# run: sleep 4
# - run: npm run publish
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
- uses: actions/setup-node@v4
with:
node-version: 18.12.1
cache: 'npm'
- name: install Linux dev tools
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt update -y
sudo apt install -y libudev-dev
- name: create NPM config file
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ./.npmrc
- run: npm run setup:ci
- run: npm run compile
- run: npm run test:unit:main -- --testTimeout=5000 --verbose --detectOpenHandles --forceExit
- run: npm run bundle
- name: Sleep for 4 seconds
shell: bash
run: sleep 4
- run: npm run publish
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frame-canary",
"version": "0.6.11-canary.1",
"version": "0.6.10-canary.1",
"description": "System-wide web3",
"main": "compiled/main",
"scripts": {
Expand Down

0 comments on commit 07a4df7

Please sign in to comment.