1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00
gocsaf/.github/workflows/release.yml
Bernhard E. Reiter 0c9516ac08
Change release action to use elder Ubuntu runner (#461)
* use `ubuntu-20.04` so we get binaries that are more
    compatible with elder GNU/Linux distribution, because
    go binaries link to glibc (for some operating system operations
    like dns).

resolve #456
2023-09-26 09:37:12 +02:00

28 lines
592 B
YAML

name: Publish Go binaries to github release
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Go binaries
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '^1.21.0'
- name: Build
run: make dist
- name: Upload release assets
uses: softprops/action-gh-release@v1
with:
files: |
dist/csaf_distribution-*.zip
dist/csaf_distribution-*.tar.gz