Skip to content

.github/workflows/release.yml #56

.github/workflows/release.yml

.github/workflows/release.yml #56

Workflow file for this run

on:
release:
types: [created]
permissions:
contents: write
packages: write
jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
compress_assets: false
executable_compression: upx
release-windows-amd64-agent:
name: release agent windows/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: windows
goarch: amd64
compress_assets: false
executable_compression: upx
binary_name: pbs-d2d-agent
project_path: ./agents/windows