Skip to content

Commit 9884d42

Browse files
committed
fix worflow
1 parent 9363d4c commit 9884d42

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

.github/workflows/deploy.yaml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,25 @@ on:
66

77
jobs:
88
deploy_gh_extension:
9-
- name: Checkout code
10-
uses: actions/checkout@v4
11-
with:
12-
fetch-depth: 0
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
1315

14-
- name: Setup Go
15-
uses: actions/setup-go@v5
16-
with:
17-
go-version: stable
16+
- name: Setup Go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version: stable
1820

19-
- name: Precompile GH Extension
20-
uses: cli/gh-extension-precompile@v2
21-
with:
22-
go_version_file: go.mod
21+
- name: Precompile GH Extension
22+
uses: cli/gh-extension-precompile@v2
23+
with:
24+
go_version_file: go.mod
2325

24-
- name: Upload binaries to GitHub Release
25-
uses: softprops/action-gh-release@v2
26-
with:
27-
tag_name: ${{ needs.create-release.outputs.tag_name }}
28-
files: dist/*
26+
- name: Upload binaries to GitHub Release
27+
uses: softprops/action-gh-release@v2
28+
with:
29+
tag_name: ${{ needs.create-release.outputs.tag_name }}
30+
files: dist/*

0 commit comments

Comments
 (0)