20 lines
557 B
YAML
20 lines
557 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
|
||
|
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 }}
|