Skip to content

Commit a300b6f

Browse files
committed
chore: inline tauri-action logic
Signed-off-by: Nick Mitchell <[email protected]>
1 parent 3114792 commit a300b6f

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/release-ui.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,14 @@ jobs:
5454
- name: install frontend dependencies
5555
run: npm ci # change this to npm, pnpm or bun depending on which one you use.
5656

57-
- uses: tauri-apps/tauri-action@v0
57+
- name: download tauri-action
58+
run: |
59+
mkdir tauri-action && cd tauri-action
60+
wget https://raw.githubusercontent.com/tauri-apps/tauri-action/refs/heads/dev/dist/index.js
61+
wget https://raw.githubusercontent.com/tauri-apps/tauri-action/refs/heads/dev/dist/package.json
62+
63+
# - uses: tauri-apps/tauri-action@v0
64+
- name: run tauri-action
5865
env:
5966
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6067
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
@@ -63,7 +70,10 @@ jobs:
6370
APPLE_ID: ${{ secrets.APPLE_ID }}
6471
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
6572
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
66-
with:
67-
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
68-
releaseName: 'Version __VERSION__ (ui build test)'
69-
args: ${{ matrix.args }}
73+
# with:
74+
# re: INPUT_, see https://github.com/actions/toolkit/blob/main/packages/core/src/core.ts
75+
INPUT_tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
76+
INPUT_releaseName: 'Version __VERSION__ (ui build test)'
77+
INPUT_args: ${{ matrix.args }}
78+
run:
79+
node ./tauri-action/index.js $(pwd)

0 commit comments

Comments
 (0)