diff --git a/.github/workflows/release-tauri-app.yaml b/.github/workflows/release-tauri-app.yaml index c8213dc5..9865b7f5 100644 --- a/.github/workflows/release-tauri-app.yaml +++ b/.github/workflows/release-tauri-app.yaml @@ -65,7 +65,7 @@ jobs: matrix: include: - platform: 'macos-latest' # for Arm based macs (M1 and above). - - platform: 'macos-13' # for Intel based macs. + # - platform: 'macos-13' # for Intel based macs. # - platform: 'ubuntu-22.04' env: @@ -237,3 +237,51 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: releaseId: ${{ needs.publish-happ.outputs.releaseId }} + + release-tauri-app-macos-x86_64: + permissions: write-all + needs: publish-happ + + runs-on: macos-13 + steps: + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + # Checks out a copy of your repository on the ubuntu-latest machine + - uses: actions/checkout@v3 + + - name: setup node + uses: actions/setup-node@v1 + with: + node-version: 20 + + - name: install Rust stable + uses: actions-rs/toolchain@v1 + with: + override: true + toolchain: 1.77.2 + + - name: install Go stable + uses: actions/setup-go@v4 + with: + go-version: "stable" + + - name: Install and prepare + run: | + npm install + + - name: Download release of the .happ + uses: robinraju/release-downloader@v1.10 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + token: ${{ secrets.GITHUB_TOKEN }} + releaseId: ${{ needs.publish-happ.outputs.releaseId }} + fileName: 'relay.happ' + out-file-path: 'workdir/' + + - name: build the app + uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + releaseId: ${{ needs.publish-happ.outputs.releaseId }} diff --git a/flake.lock b/flake.lock index fb9e37fa..877a4a66 100644 --- a/flake.lock +++ b/flake.lock @@ -205,11 +205,11 @@ ] }, "locked": { - "lastModified": 1726165562, - "narHash": "sha256-tkubzD2GPyjh+SYFwqiL2ciGTQTHyha8QRR3VEnkkz8=", + "lastModified": 1726486752, + "narHash": "sha256-v9DMWB4nPrqnnF5XOFswhsWAv3BOB90nxxdLCACryd8=", "owner": "holochain-open-dev", "repo": "infrastructure", - "rev": "4e692e463dc8bf6c94e7f8cdf6f8b7fcc1b539da", + "rev": "0efbbf4093fade51873eeb0eaef1bddfc2189d0d", "type": "github" }, "original": { @@ -607,11 +607,11 @@ "webkitgtknixpkgs": "webkitgtknixpkgs" }, "locked": { - "lastModified": 1726165591, - "narHash": "sha256-SwzFvnyeWhtuAVhzBetR8g8+F2v1YryyKsujpU4887g=", + "lastModified": 1726486776, + "narHash": "sha256-wSJv9pVEHCDMDhlQMApm693EpBZgP9Sg/b8ETrtdaxM=", "owner": "darksoil-studio", "repo": "p2p-shipyard", - "rev": "bd3e165d4472873f225fdee3458ef869f1d32b19", + "rev": "374862c00609ad57cc4af248a6df170f18c2e477", "type": "github" }, "original": {