Skip to content

Commit

Permalink
Attempt fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Sep 16, 2024
1 parent 89624a7 commit e805daa
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 7 deletions.
50 changes: 49 additions & 1 deletion .github/workflows/release-tauri-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/[email protected]
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 }}
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e805daa

Please sign in to comment.