Skip to content

Bump actions/checkout from 6.0.2 to 6.0.3 #413

Bump actions/checkout from 6.0.2 to 6.0.3

Bump actions/checkout from 6.0.2 to 6.0.3 #413

Workflow file for this run

name: xgo
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
on:
push:
branches:
- 'master'
tags:
- 'v*'
pull_request:
env:
DESTDIR: ./bin
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write # required to create GitHub release
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
-
name: Build artifacts
uses: docker/bake-action@a66e1c87e2eca0503c343edf1d208c716d54b8a8 # v7.1.0
with:
targets: artifact-all
provenance: false
-
name: Release
uses: docker/bake-action@a66e1c87e2eca0503c343edf1d208c716d54b8a8 # v7.1.0
with:
targets: release
provenance: false
set: |
*.contexts.artifacts=cwd://${{ env.DESTDIR }}/artifact
-
name: Upload artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: xgo
path: ${{ env.DESTDIR }}/release/*
if-no-files-found: error
-
name: GitHub Release
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
files: |
${{ env.DESTDIR }}/release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}