CI: Add snapshot artifacts to PR builds (#574)
* Feat: Add snapshot artifacts to PR builds * Separate Artifacts to keep file size down * Name the tasks
This commit is contained in:
parent
b438b836ea
commit
da07324779
2 changed files with 15 additions and 4 deletions
17
.github/workflows/push.yml
vendored
17
.github/workflows/push.yml
vendored
|
@ -41,8 +41,21 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --snapshot --rm-dist
|
args: release --snapshot --rm-dist
|
||||||
env:
|
- name: Capture Linux Binary
|
||||||
SNAPSHOT_VERSION: "v0.0.0"
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: act-linux
|
||||||
|
path: dist/act_linux_amd64/act
|
||||||
|
- name: Capture Windows Binary
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: act-windows
|
||||||
|
path: dist/act_windows_amd64/act.exe
|
||||||
|
- name: Capture MacOS Binary
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: act-macos
|
||||||
|
path: dist/act_darwin_amd64/act
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
|
|
|
@ -13,8 +13,6 @@ builds:
|
||||||
- 386
|
- 386
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
|
||||||
name_template: "{{ .Env.SNAPSHOT_VERSION }}"
|
|
||||||
archives:
|
archives:
|
||||||
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
|
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
|
||||||
replacements:
|
replacements:
|
||||||
|
|
Loading…
Reference in a new issue