Skip to content

Commit a0fbc81

Browse files
committed
refactor: simplify task execution in release workflow by removing Go tool commands
1 parent 39d3684 commit a0fbc81

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,21 @@ jobs:
2525
with:
2626
node-version: '18'
2727

28+
- name: Install Task
29+
uses: arduino/setup-task@v2
30+
2831
- name: Scratch init
2932
run: |
30-
go tool \
31-
github.com/go-task/task/v3/cmd/task \
32-
--silent \
33-
scratch:init
33+
task scratch:init
3434
3535
- name: Create build
3636
run: |
37-
go tool \
38-
github.com/go-task/task/v3/cmd/task \
39-
--silent \
40-
app:build
37+
task app:build
4138
4239
- name: Create zip
4340
run: |
44-
go tool \
45-
github.com/go-task/task/v3/cmd/task \
46-
--silent \
47-
app:zip
48-
41+
task app:zip
42+
4943
- name: Upload artifacts
5044
uses: actions/upload-artifact@v5
5145
with:

0 commit comments

Comments
 (0)