2 Commits

Author SHA1 Message Date
3ea08997ae Two actions? 2025-11-09 19:06:32 -05:00
c5f4348f47 shot in the dark because gitea ain't telling me shit 2025-11-09 19:00:18 -05:00
2 changed files with 4 additions and 9 deletions

View File

@@ -7,12 +7,8 @@ Gitea action for building pacman packages. Uses [Archery](https://git.sanin.dev/
See [action.yml](action.yml).
```
- uses: https://git.sanin.dev/packages_infra/makepkg-build-action@v1
- uses: https://git.sanin.dev/packages_infra/makepkg-build-action@v1-artix
with:
# Which distro to use for building. This will affect what repos are used for satisfying dependencies.
# Can be artix or arch
distro: 'artix'
# Username intended to be used for publishing artifacts. Wihtout a proper post-entrypoint.sh script to
# utilize it, this input does nothing.
username: 'anonymous'
@@ -22,6 +18,8 @@ See [action.yml](action.yml).
token: 'anonymous'
```
Select the desired distro to build in by appending `-artix` or `-arch` after the version number.
## Publishing
See [publish.yml](https://git.sanin.dev/packages_infra/package_template/src/branch/master/.gitea/workflows/publish.yml).

View File

@@ -8,13 +8,10 @@ inputs:
token:
description: 'Gitea PAT'
default: ''
distro:
description: Which distro to use for building, arch or artix
default: 'artix'
runs:
using: 'docker'
image: 'docker://corysanin/archery:${{ inputs.distro }}'
image: 'docker://corysanin/archery:artix'
env:
REPO: .
WORKSPACE: /workspace/${{ GITEA_REPOSITORY }}/