-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: reactivate release action and fix cache on it
- Loading branch information
1 parent
f7fdfcb
commit dedfed7
Showing
1 changed file
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: Tag & Go List | ||
|
||
on: | ||
# workflow_run: | ||
# workflows: ["Go Test on PR to Main"] | ||
# branches: [main] | ||
# types: | ||
# - completed | ||
workflow_run: | ||
workflows: ["Go Test on PR to Main"] | ||
branches: [main] | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
@@ -18,17 +18,11 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
|
||
- name: Set up cache | ||
uses: actions/cache@v2 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
go-version: 1.22 | ||
|
||
- name: Tag | ||
uses: codfish/[email protected] | ||
id: semantic | ||
|