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 Reiter 6e02de974e
update release workflow dependencies and so glibc
* Update runner to ubuntu-22.04 which is the eldest to be supported
   by github from 2025-04-01.
 * Update github actions and go version needed.
2025-02-25 15:03:38 +01:00

30 lines
605 B
YAML

name: Publish Go binaries to github release
on:
release:
types: [created]
jobs:
releases-matrix:
name: Release Go binaries
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.23.6'
- name: Build
run: make dist
- name: Upload release assets
uses: softprops/action-gh-release@v2
with:
files: |
dist/csaf-*.zip
dist/csaf-*.tar.gz