Skip to content

Commit 5c238ec

Browse files
committed
chore: work in progress on release-ui automation
Signed-off-by: Nick Mitchell <[email protected]>
1 parent a300b6f commit 5c238ec

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release-ui.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,14 @@ jobs:
5757
- name: download tauri-action
5858
run: |
5959
mkdir tauri-action && cd tauri-action
60+
mkdir dist && cd dist
6061
wget https://raw.githubusercontent.com/tauri-apps/tauri-action/refs/heads/dev/dist/index.js
6162
wget https://raw.githubusercontent.com/tauri-apps/tauri-action/refs/heads/dev/dist/package.json
63+
cd ..
64+
wget https://raw.githubusercontent.com/tauri-apps/tauri-action/refs/heads/dev/action.yml
6265
6366
# - uses: tauri-apps/tauri-action@v0
64-
- name: run tauri-action
67+
- uses: ./tauri-action
6568
env:
6669
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6770
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
@@ -70,10 +73,7 @@ jobs:
7073
APPLE_ID: ${{ secrets.APPLE_ID }}
7174
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
7275
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
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)
76+
with:
77+
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
78+
releaserName: 'Version __VERSION__ (ui build test)'
79+
args: ${{ matrix.args }}

0 commit comments

Comments
 (0)