diff --git a/.github/workflows/canary-prebuild.yml b/.github/workflows/canary-prebuild.yml index 4404cb171..a9bbbcbeb 100644 --- a/.github/workflows/canary-prebuild.yml +++ b/.github/workflows/canary-prebuild.yml @@ -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 diff --git a/package.json b/package.json index 6165f5582..707232f6a 100644 --- a/package.json +++ b/package.json @@ -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": {