Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ea08997ae | |||
| c5f4348f47 |
@@ -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).
|
||||
|
||||
@@ -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 }}/
|
||||
|
||||
Reference in New Issue
Block a user