Skip to content

Commit

Permalink
fix: reactivate release action and fix cache on it
Browse files Browse the repository at this point in the history
  • Loading branch information
pablocampogo committed Nov 18, 2024
1 parent f7fdfcb commit dedfed7
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/release.yml
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:
Expand All @@ -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
Expand Down

0 comments on commit dedfed7

Please sign in to comment.