mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-02 03:22:59 +00:00
Update workflows
This commit is contained in:
parent
7bffe20ce5
commit
449ac6c984
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -31,4 +31,4 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Create snapshot
|
name: Create snapshot
|
||||||
run: |
|
run: |
|
||||||
goreleaser build --config .goreleaser.test.yml --parallelism 2 --rm-dist --snapshot --timeout 1h
|
goreleaser build --parallelism 2 --rm-dist --snapshot --timeout 1h
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
before:
|
|
||||||
hooks:
|
|
||||||
- go mod tidy
|
|
||||||
builds:
|
|
||||||
- env:
|
|
||||||
- CGO_ENABLED=0
|
|
||||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
||||||
flags:
|
|
||||||
- -trimpath
|
|
||||||
ldflags:
|
|
||||||
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
|
|
||||||
goos:
|
|
||||||
- freebsd
|
|
||||||
- windows
|
|
||||||
- linux
|
|
||||||
- darwin
|
|
||||||
goarch:
|
|
||||||
- amd64
|
|
||||||
- '386'
|
|
||||||
- arm
|
|
||||||
- arm64
|
|
||||||
ignore:
|
|
||||||
- goos: darwin
|
|
||||||
goarch: '386'
|
|
||||||
binary: '{{ .ProjectName }}_v{{ .Version }}'
|
|
||||||
archives:
|
|
||||||
- format: zip
|
|
||||||
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
|
|
||||||
checksum:
|
|
||||||
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
|
|
||||||
algorithm: sha256
|
|
||||||
signs:
|
|
||||||
- artifacts: none
|
|
||||||
release:
|
|
||||||
draft: false
|
|
||||||
changelog:
|
|
||||||
skip: true
|
|
Loading…
Reference in New Issue
Block a user