4 Commits

Author SHA1 Message Date
49c87e0038 arch branch 2025-11-12 15:01:21 -05:00
6e37d5b209 tier parameter 2025-11-12 15:00:02 -05:00
8403e67ba4 add deps option 2025-11-09 19:42:56 -05:00
d97dc941bb Add license 2025-11-09 19:17:29 -05:00
3 changed files with 36 additions and 1 deletions

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 Cory Sanin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -9,6 +9,12 @@ See [action.yml](action.yml).
```
- uses: https://git.sanin.dev/packages_infra/makepkg-build-action@v1-artix
with:
# Which repos to use. Can be stable, testing, staging
deps: 'stable'
# Which tier of repos to use. 0 for system, 1 for world, etc.
tier: '1'
# Username intended to be used for publishing artifacts. Wihtout a proper post-entrypoint.sh script to
# utilize it, this input does nothing.
username: 'anonymous'

View File

@@ -8,13 +8,21 @@ inputs:
token:
description: 'Gitea PAT'
default: ''
deps:
description: 'which repos to enable'
default: 'stable'
tier:
description: 'which tier of repos to enable'
default: '1'
runs:
using: 'docker'
image: 'docker://corysanin/archery:artix'
image: 'docker://corysanin/archery:arch'
env:
REPO: .
WORKSPACE: /workspace/${{ GITEA_REPOSITORY }}/
DEP: ${{ inputs.deps }}
TIER: ${{ inputs.tier }}
POST: ${{ inputs.token }}
username: ${{ inputs.username }}
token: ${{ inputs.token }}