Skip to content

Commit 457a0b5

Browse files
author
Brean
committed
Updated workflow
1 parent 2a8568a commit 457a0b5

1 file changed

Lines changed: 1 addition & 32 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -32,41 +32,10 @@ jobs:
3232
~/.cargo/registry
3333
~/.cargo/git
3434
key: cargo-${{ hashFiles('**/Cargo.lock') }}
35-
35+
3636
# Install additional required targets
3737
- name: Add x86_64 GNU target
3838
run: rustup target add x86_64-unknown-linux-gnu
39-
40-
# Update .goreleaser.yml to use pure Rust builder
41-
- name: Update goreleaser config
42-
run: |
43-
cat > .goreleaser.yml << 'EOF'
44-
version: 2
45-
project_name: node-cleaner
46-
47-
builds:
48-
- id: rust-build
49-
builder: rust
50-
dir: .
51-
binary: node-cleaner
52-
targets:
53-
- x86_64-unknown-linux-gnu
54-
- aarch64-unknown-linux-musl
55-
flags:
56-
- --release
57-
58-
archives:
59-
- id: default
60-
ids:
61-
- rust-build
62-
formats:
63-
- tar.gz
64-
- zip
65-
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
66-
files:
67-
- README.md
68-
- LICENSE
69-
EOF
7039

7140
- name: Install GoReleaser
7241
uses: goreleaser/goreleaser-action@v2

0 commit comments

Comments
 (0)