Aggiunti file per semplificare rilascio.

This commit is contained in:
Emiliano Vavassori 2024-03-03 23:46:12 +01:00
parent 8d912e668d
commit 1636382e43
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,23 @@
name: Build and publish
on: [create, pull_request]
jobs:
pkgbuild:
runs-on: archlinux
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fix permissions
run: /fixperms.sh
- name: Compile package
run: /paruw.sh "paru -B ${{ gitea.workspace }}"
- name: Setup go for publishing
uses: actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Upload Package Archive
uses: https://gitea.com/actions/gitea-release-action@v1
with:
files: "*.pkg.tar.zst"
api_key: ${{ secrets.APITOKEN_RELEASE }}
md5sum: true

4
.gitignore vendored
View File

@ -1,2 +1,4 @@
*.tar.*
*.tar.zst
*.deb
src/**
pkg/**