-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (36 loc) · 1.25 KB
/
build-shims.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
- 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@v7
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