Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8403e67ba4 | |||
| d97dc941bb | |||
| 3ea08997ae | |||
| c5f4348f47 |
21
LICENSE
Normal file
21
LICENSE
Normal 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.
|
||||||
@@ -7,11 +7,10 @@ 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.
|
# Which repos to use. Can be stable, testing, staging
|
||||||
# Can be artix or arch
|
deps: 'stable'
|
||||||
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.
|
||||||
@@ -22,6 +21,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).
|
||||||
|
|||||||
@@ -8,16 +8,17 @@ inputs:
|
|||||||
token:
|
token:
|
||||||
description: 'Gitea PAT'
|
description: 'Gitea PAT'
|
||||||
default: ''
|
default: ''
|
||||||
distro:
|
deps:
|
||||||
description: Which distro to use for building, arch or artix
|
description: 'which repos to enable'
|
||||||
default: 'artix'
|
default: 'stable'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'docker://corysanin/archery:${{ inputs.distro }}'
|
image: 'docker://corysanin/archery:artix'
|
||||||
env:
|
env:
|
||||||
REPO: .
|
REPO: .
|
||||||
WORKSPACE: /workspace/${{ GITEA_REPOSITORY }}/
|
WORKSPACE: /workspace/${{ GITEA_REPOSITORY }}/
|
||||||
|
DEP: ${{ inputs.deps }}
|
||||||
POST: ${{ inputs.token }}
|
POST: ${{ inputs.token }}
|
||||||
username: ${{ inputs.username }}
|
username: ${{ inputs.username }}
|
||||||
token: ${{ inputs.token }}
|
token: ${{ inputs.token }}
|
||||||
|
|||||||
Reference in New Issue
Block a user