Skip to content

feat: add apx documentation #382

feat: add apx documentation

feat: add apx documentation #382

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@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Install build dependencies
run: |
apt-get update
apt-get install -y pkg-config build-essential
- name: Build
run: go build -o apx -ldflags="-X 'main.Version=${{ github.sha }}'"
- name: Check for missing strings
uses: vanilla-os/[email protected]
- name: Compress
run: tar -czvf apx.tar.gz apx
- name: Compress-manpage
run: tar -czvf apx-man.tar.gz man/man1/apx.1
- uses: actions/upload-artifact@v4
with:
name: apx
path: |
apx.tar.gz
apx-man.tar.gz
- 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
apx-man.tar.gz