Skip to content

bump: sdk to latest commit #642

bump: sdk to latest commit

bump: sdk to latest commit #642

Workflow file for this run

name: Go
on:
push:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/vanilla-os/pico:main
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Build
run: |
go build -o apx -ldflags="-X 'main.Version=${{ github.sha }}'" ./cmd
tar -czvf apx-amd64.tar.gz apx
GOARCH=arm64 go build -o apx -ldflags="-X 'main.Version=${{ github.sha }}'" ./cmd
tar -czvf apx-arm64.tar.gz apx
tar -czvf apx-man.tar.gz man/man1/apx.1
- name: Check for missing strings
run: |
go build -tags check_missing_strings -o apx-check ./cmd
./apx-check
- uses: actions/upload-artifact@v4
if: failure()
with:
name: missing-strings-report
path: missing_strings.json
- uses: softprops/action-gh-release@v2
if: github.repository == 'vanilla-os/apx' && github.ref == 'refs/heads/main'
with:
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "continuous"
prerelease: true
name: "Continuous Build"
files: apx*.tar.gz