Skip to content

Build Shims

Build Shims #23

Workflow file for this run

name: Build Shims
on: [workflow_dispatch]
permissions:
contents: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22
cache: ${{ github.ref_name == 'main' }}
- uses: crazy-max/ghaction-upx@v3
with:
install-only: true
- name: Run make shim
run: |
make shim GOARCH=amd64
make shim GOARCH=arm64
- uses: peter-evans/create-pull-request@v6
with:
add-paths: |
internal/bin/shim_amd64
internal/bin/shim_arm64
reviewers: |
${{ github.actor }}
title: |
Bump internal/bin/shim_*
commit-message: |
Update internal/bin/shim_* built by GitHub Actions workflow "${{ github.workflow }}" for user ${{ github.actor }} from commit ${{ github.sha }}.
body: |
Update [internal/bin/shim_*](internal/bin) built by [GitHub Actions workflow "${{ github.workflow }}"](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for user ${{ github.actor }} from commit ${{ github.sha }}.
branch: github-actions/gen/internal/bin
delete-branch: true
labels: go