Two actions?

This commit is contained in:
2025-11-09 19:06:32 -05:00
parent c5f4348f47
commit 3ea08997ae
2 changed files with 3 additions and 8 deletions

View File

@@ -7,12 +7,8 @@ Gitea action for building pacman packages. Uses [Archery](https://git.sanin.dev/
See [action.yml](action.yml). 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: 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 # Username intended to be used for publishing artifacts. Wihtout a proper post-entrypoint.sh script to
# utilize it, this input does nothing. # utilize it, this input does nothing.
username: 'anonymous' username: 'anonymous'
@@ -22,6 +18,8 @@ See [action.yml](action.yml).
token: 'anonymous' token: 'anonymous'
``` ```
Select the desired distro to build in by appending `-artix` or `-arch` after the version number.
## Publishing ## Publishing
See [publish.yml](https://git.sanin.dev/packages_infra/package_template/src/branch/master/.gitea/workflows/publish.yml). See [publish.yml](https://git.sanin.dev/packages_infra/package_template/src/branch/master/.gitea/workflows/publish.yml).

View File

@@ -8,9 +8,6 @@ inputs:
token: token:
description: 'Gitea PAT' description: 'Gitea PAT'
default: '' default: ''
distro:
description: Which distro to use for building, arch or artix
default: 'artix'
runs: runs:
using: 'docker' using: 'docker'