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]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
pkgbuild:
|
pkgbuild:
|
||||||
runs-on: ubuntu-latest
|
runs-on: archlinux
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install makepkg
|
- name: Fix permissions
|
||||||
id: makepkg
|
run: /fixperms.sh
|
||||||
uses: edlanglois/pkgbuild-action@v1
|
- name: Compile package
|
||||||
- name: Print Package Files
|
run: /paruw.sh "paru -Bi ."
|
||||||
run: |
|
|
||||||
echo "Successfully created the following package archive"
|
|
||||||
echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}"
|
|
||||||
- name: Setup go for publishing
|
- name: Setup go for publishing
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
@ -20,5 +17,5 @@ jobs:
|
|||||||
- name: Upload Package Archive
|
- name: Upload Package Archive
|
||||||
uses: https://gitea.com/actions/gitea-release-action@v1
|
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: ${{ steps.makepkg.outputs.pkgfile0 }}
|
files: "*.pkg.tar.zst"
|
||||||
api_key: ${{ secrets.APITOKEN_RELEASE }}
|
api_key: ${{ secrets.APITOKEN_RELEASE }}
|
||||||
|
Loading…
Reference in New Issue
Block a user