Cambiate azioni per deploy.
This commit is contained in:
parent
c23c30a8a0
commit
38085b8fef
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user