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:
Justin Grote 2021-03-28 21:38:28 -07:00 committed by GitHub
parent b438b836ea
commit da07324779
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 4 deletions

View file

@ -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

View file

@ -13,8 +13,6 @@ builds:
- 386
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Env.SNAPSHOT_VERSION }}"
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
replacements: