Skip to content

Bump actions/upload-artifact from 3 to 4 #143

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #143

name: test-and-snapshot
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- name: Test
run: make test
snapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Qemu
uses: docker/setup-qemu-action@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
- name: Build release snapshot
run: make snapshot
- name: Archive release snapshot
uses: actions/upload-artifact@v4
with:
name: release-snapshot
path: |
bin/*.tar.gz
bin/*.txt
bin/*.yaml