v1.9.4 #67
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release binaries | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
release-binaries: | |
name: Release compiled binaries for Linux/${{matrix.arch}} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: ['amd64','arm64'] | |
go: [ '1.23' ] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Build Go release for linux/${{ matrix.arch }} | |
run: make artifact | |
env: | |
GOOS: linux | |
GOARCH: ${{ matrix.arch }} | |
- name: Upload release asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: ./bin/beyla.tar.gz | |
asset_name: beyla-linux-${{ matrix.arch }}-${{ github.event.release.tag_name }}.tar.gz | |
asset_content_type: application/gzip |