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
|
@ -41,8 +41,21 @@ jobs:
|
|||
with:
|
||||
version: latest
|
||||
args: release --snapshot --rm-dist
|
||||
env:
|
||||
SNAPSHOT_VERSION: "v0.0.0"
|
||||
- name: Capture Linux Binary
|
||||
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:
|
||||
name: Release
|
||||
|
|
|
@ -13,8 +13,6 @@ builds:
|
|||
- 386
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
snapshot:
|
||||
name_template: "{{ .Env.SNAPSHOT_VERSION }}"
|
||||
archives:
|
||||
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
|
||||
replacements:
|
||||
|
|
Loading…
Reference in New Issue