This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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: .
|
||||
- run: echo curl --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
|
||||
- name: Upload package
|
||||
run: curl --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
|
||||
Reference in New Issue
Block a user