mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-21 23:20:10 +01:00
* update all .github/workflows/ to use the latest version of
actions and the go versions accordingly.
(Only some github actions use a floating tag for the major version.)
* reduce places where the go versions are hardcoded:
* refEr to docs/Development.md from README.md
* use `go.mod` from itest.yml.
32 lines
711 B
YAML
32 lines
711 B
YAML
name: Publish Go binaries to github release
|
|
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
releases-matrix:
|
|
name: Release Go binaries
|
|
# use oldest available ubuntu to be compatible with more libc.so revs.
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: '^1.24.9'
|
|
check-latest: true
|
|
|
|
- name: Build
|
|
run: make dist
|
|
|
|
- name: Upload release assets
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: |
|
|
dist/csaf-*.zip
|
|
dist/csaf-*.tar.gz
|