ferrumgate-bin/.gitea/workflows/build-publish.yml
Emiliano Vavassori eddfb9832f
Some checks failed
Build and publish / pkgbuild (push) Failing after 3m18s
Corretto nome setup-go.
2024-03-02 23:54:15 +01:00

25 lines
741 B
YAML

name: Build and publish
on: [push, pull_request]
jobs:
pkgbuild:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install makepkg
id: makepkg
uses: edlanglois/pkgbuild-action@v1
- name: Print Package Files
run: |
echo "Successfully created the following package archive"
echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}"
- 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: ${{ steps.makepkg.outputs.pkgfile0 }}
api_key: ${{ secrets.APITOKEN_RELEASE }}