25 lines
624 B
YAML
25 lines
624 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
|
|
jobs:
|
|
archlinux:
|
|
name: Arch Linux
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
packages: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
- name: Build package
|
|
uses: https://git.huizinga.dev/infra/archlinux-package-action@v4
|
|
with:
|
|
path: .
|
|
- name: Upload package
|
|
run: curl -v --user ${{ gitea.actor }}:${{ secrets.GITEA_TOKEN }} \
|
|
--upload-file="$(ls | grep -E 'crete-[0-9]+\.[0-9]+\.[0-9]+-[0-9]+-.*.pkg.tar.zst')" \
|
|
https://git.huizinga.dev/api/packages/infra/arch/core
|