Skip to content

Commit 2bf46cb

Browse files
committed
chore: update cache-action version
1 parent 59622d4 commit 2bf46cb

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
tags:
66
- 'v*.*.*'
7+
workflow_dispatch:
8+
79

810
jobs:
911
release:
@@ -23,7 +25,7 @@ jobs:
2325
run: git fetch --tags --force
2426

2527
- name: Cache the build cache
26-
uses: actions/cache@v2
28+
uses: actions/cache@v4
2729
with:
2830
path: |
2931
~/go/pkg/mod
@@ -33,9 +35,9 @@ jobs:
3335
${{ runner.os }}-release
3436
3537
- name: Run GoReleaser
36-
uses: goreleaser/goreleaser-action@v2
38+
uses: goreleaser/goreleaser-action@v6
3739
with:
3840
version: latest
39-
args: release --rm-dist
41+
args: release --clean
4042
env:
4143
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
version: 2
2+
13
before:
24
hooks:
35
- go mod tidy
6+
47
builds:
58
- env:
69
- CGO_ENABLED=0
@@ -10,22 +13,22 @@ builds:
1013
- darwin
1114
ldflags:
1215
- -s -w
16+
1317
archives:
14-
- format_overrides:
18+
- format: tar.gz
19+
format_overrides:
1520
- goos: windows
1621
format: zip
17-
replacements:
18-
darwin: mac
19-
386: i386
20-
amd64: x86_64
22+
2123
checksum:
2224
name_template: 'checksums.txt'
25+
2326
snapshot:
2427
name_template: "{{ incpatch .Version }}-next"
2528

2629
release:
2730
github:
28-
owner: DonDebonair
31+
owner: source-ag
2932
name: ploy
3033
draft: true
3134
prerelease: auto

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ It can currently verify and deploy services of the following types:
1515
Install the tool with `go`
1616

1717
```bash
18-
go install github.com/DandyDev/ploy
18+
go install github.com/source-ag/ploy
1919
```
2020

2121
## Usage

0 commit comments

Comments
 (0)