mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
* Change the go module path from github.com/csaf-poc/csaf_distribution to github.com/gocsaf/csaf. * Rename archive for release tarballs. * Adjust testing scripts and documentation.
28 lines
566 B
YAML
28 lines
566 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-*.zip
|
|
dist/csaf-*.tar.gz
|