File tree 6 files changed +31
-16
lines changed
6 files changed +31
-16
lines changed Original file line number Diff line number Diff line change 41
41
runs-on : ubuntu-latest
42
42
steps :
43
43
- uses : actions/checkout@v3
44
- - run : corepack enable
44
+ - run : |
45
+ npm i -g --force corepack
46
+ corepack enable
45
47
- name : Setup node
46
48
uses : actions/setup-node@v4
47
49
with :
Original file line number Diff line number Diff line change 25
25
with :
26
26
fetch-depth : 0
27
27
28
- - run : corepack enable
28
+ - run : |
29
+ npm i -g --force corepack
30
+ corepack enable
29
31
- name : Setup node
30
32
uses : actions/setup-node@v4
31
33
with :
Original file line number Diff line number Diff line change 30
30
31
31
steps :
32
32
- uses : actions/checkout@v3
33
- - run : corepack enable
33
+ - run : |
34
+ npm i -g --force corepack
35
+ corepack enable
34
36
- name : Setup node
35
37
uses : actions/setup-node@v4
36
38
with :
Original file line number Diff line number Diff line change 84
84
if: ${{ matrix.settings.target == 'aarch64-unknown-linux-musl' }}
85
85
86
86
- name : upload artifact
87
- uses : actions/upload-artifact@v3
87
+ uses : actions/upload-artifact@v4
88
88
with :
89
89
name : " ${{ matrix.settings.target }}"
90
90
path : target/${{ matrix.settings.target }}/release/cargo-create-tauri-app${{ matrix.settings.ext }}
98
98
- uses : actions/checkout@v3
99
99
100
100
- name : download all artifacts
101
- uses : actions/download-artifact@v3
101
+ uses : actions/download-artifact@v4
102
102
with :
103
103
path : binaries
104
104
Original file line number Diff line number Diff line change 73
73
runs-on : ${{ matrix.settings.host }}
74
74
steps :
75
75
- uses : actions/checkout@v4
76
- - run : corepack enable
76
+ - run : |
77
+ npm i -g --force corepack
78
+ corepack enable
77
79
- name : Setup node
78
80
uses : actions/setup-node@v4
79
81
if : ${{ !matrix.settings.docker }}
@@ -154,7 +156,9 @@ jobs:
154
156
working-directory : node
155
157
steps :
156
158
- uses : actions/checkout@v4
157
- - run : corepack enable
159
+ - run : |
160
+ npm i -g --force corepack
161
+ corepack enable
158
162
- name : Setup node
159
163
uses : actions/setup-node@v4
160
164
with :
@@ -194,7 +198,9 @@ jobs:
194
198
working-directory : node
195
199
steps :
196
200
- uses : actions/checkout@v3
197
- - run : corepack enable
201
+ - run : |
202
+ npm i -g --force corepack
203
+ corepack enable
198
204
- name : Setup node
199
205
uses : actions/setup-node@v4
200
206
with :
Original file line number Diff line number Diff line change @@ -31,18 +31,19 @@ jobs:
31
31
steps :
32
32
- uses : actions/checkout@v3
33
33
34
- - name : Get changed files
34
+ - uses : dorny/paths-filter@v3
35
35
id : changed-files
36
- uses : tj-actions/changed-files@v42
37
36
with :
38
- base_sha : ${{ github.event.pull_request.base.sha }}
39
- separator : " ,"
37
+ list-files : shell
38
+ filters : |
39
+ modified:
40
+ - modified: '**'
40
41
41
42
- name : set matrix
42
43
id : set-matrix
43
44
shell : bash
44
45
run : |
45
- OUT="$(node .scripts/generate-templates-matrix.js '${{ github.event_name }}' '${{ steps.changed-files.outputs.all_changed_files }}')"
46
+ OUT="$(node .scripts/generate-templates-matrix.js '${{ github.event_name }}' '${{ steps.changed-files.outputs.modified_files }}')"
46
47
echo "matrix=$OUT" >> $GITHUB_OUTPUT
47
48
48
49
build-cli :
57
58
run : tar -rf create-tauri-app.tar target/release/cargo-create-tauri-app
58
59
59
60
- name : upload cli artifact
60
- uses : actions/upload-artifact@v3
61
+ uses : actions/upload-artifact@v4
61
62
with :
62
63
name : create-tauri-app
63
64
path : create-tauri-app.tar
85
86
with :
86
87
deno-version : v2.x
87
88
88
- - run : corepack enable
89
+ - run : |
90
+ npm i -g --force corepack
91
+ corepack enable
89
92
if: matrix.settings.node
90
93
91
94
- name : Install Node.js@18
@@ -130,7 +133,7 @@ jobs:
130
133
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.1 libayatana-appindicator3-dev librsvg2-dev patchelf
131
134
132
135
- name : download cli artifact
133
- uses : actions/download-artifact@v3
136
+ uses : actions/download-artifact@v4
134
137
135
138
- run : tar -xf create-tauri-app/create-tauri-app.tar
136
139
You can’t perform that action at this time.
0 commit comments