From 38085b8fef995f030569fc68bb5069715bb8f750 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sun, 3 Mar 2024 22:47:15 +0100 Subject: [PATCH] Cambiate azioni per deploy. --- .gitea/workflows/build-publish.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build-publish.yml b/.gitea/workflows/build-publish.yml index d8b0169..8b7983c 100644 --- a/.gitea/workflows/build-publish.yml +++ b/.gitea/workflows/build-publish.yml @@ -2,17 +2,14 @@ name: Build and publish on: [push, pull_request] jobs: pkgbuild: - runs-on: ubuntu-latest + runs-on: archlinux 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: Fix permissions + run: /fixperms.sh + - name: Compile package + run: /paruw.sh "paru -Bi ." - name: Setup go for publishing uses: actions/setup-go@v4 with: @@ -20,5 +17,5 @@ jobs: - name: Upload Package Archive uses: https://gitea.com/actions/gitea-release-action@v1 with: - files: ${{ steps.makepkg.outputs.pkgfile0 }} + files: "*.pkg.tar.zst" api_key: ${{ secrets.APITOKEN_RELEASE }}