Sebastiaan de Schaetzen b539e91c30
All checks were successful
Wake Runner / build (push) Successful in 4s
Build and Push / build (push) Successful in 1m43s
Add gitea workflow
2025-04-23 11:07:23 +02:00

31 lines
745 B
YAML

name: Build and Push
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-amd64
container:
image: gitea.seeseepuff.be/archlinux/archlinux:latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Ensure image is up-to-date
run: |
sudo pacman -Syu --noconfirm
- name: Build package
run: |
makepkg -s --noconfirm -
- name: Push to repository
run: |
makepkg --packagelist | while read -r file; do
curl --user ${{ secrets.USERNAME }}:${{ secrets.PASSWORD }} \
--upload-file $file \
https://gitea.seeseepuff.be/api/packages/archlinux/arch/personal
done