Skip to content

Go 1.22.2, 1.22.3, 1.22.4, 1.22.5, 1.22.6, 1.23.0 #276

Go 1.22.2, 1.22.3, 1.22.4, 1.22.5, 1.22.6, 1.23.0

Go 1.22.2, 1.22.3, 1.22.4, 1.22.5, 1.22.6, 1.23.0 #276

Workflow file for this run

name: xgo
concurrency:
group: xgo-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'master'
tags:
- 'v*'
paths-ignore:
- '**.md'
pull_request:
branches:
- 'master'
paths-ignore:
- '**.md'
env:
DESTDIR: ./bin
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build artifacts
uses: docker/bake-action@v5
with:
targets: artifact-all
provenance: false
-
name: Release
uses: docker/bake-action@v5
with:
targets: release
provenance: false
-
name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: xgo
path: ${{ env.DESTDIR }}/release/*
if-no-files-found: error
-
name: GitHub Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
files: |
${{ env.DESTDIR }}/release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}