From 44065bb002dd810eb49bc121018dd5c15cd53402 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 2 Mar 2024 23:10:46 +0100 Subject: [PATCH] Aggiunta workflow. --- .gitea/workflows/build-publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/build-publish.yml diff --git a/.gitea/workflows/build-publish.yml b/.gitea/workflows/build-publish.yml new file mode 100644 index 0000000..28837c2 --- /dev/null +++ b/.gitea/workflows/build-publish.yml @@ -0,0 +1,19 @@ +name: Build and publish +on: [push, pull_request] +jobs: + pkgbuild: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install makepkg + uses: edlanglois/pkgbuild-action@v1 + id: makepkg + - name: Print Package Files + run: | + echo "Successfully created the following package archive" + echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}" + - name: Upload Package Archive + uses: actions/upload-artifact@v2 + with: + path: ${{ steps.makepkg.outputs.pkgfile0 }}