We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e56a6e6 commit 6bc3592Copy full SHA for 6bc3592
1 file changed
.github/workflows/release.yml
@@ -7,19 +7,23 @@ on:
7
push:
8
tags:
9
- 'v*'
10
+ workflow_dispatch: # For manual triggering
11
12
jobs:
13
release:
14
runs-on: ubuntu-latest
15
16
steps:
17
- uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0 # Important for GoReleaser to fetch all tags
20
21
- name: Install Rust
22
uses: actions-rs/toolchain@v1
23
with:
24
toolchain: stable
25
override: true
26
+ target: aarch64-unknown-linux-musl # Add the cross-compilation target
27
28
- name: Cache Cargo registry & index
29
uses: actions/cache@v3
@@ -33,9 +37,6 @@ jobs:
33
37
uses: goreleaser/goreleaser-action@v2
34
38
35
39
version: latest
36
-
- - name: Run GoReleaser
40
+ args: release --clean # Updated from --rm-dist to --clean
41
env:
42
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
- goreleaser release --rm-dist
0 commit comments