From 6562d35c879f857e70d2020c46f182c6d0021f21 Mon Sep 17 00:00:00 2001 From: benadha Date: Mon, 14 Feb 2022 19:07:45 +0700 Subject: Initial AUR publish workflow --- .github/workflows/release-aur.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/release-aur.yml diff --git a/.github/workflows/release-aur.yml b/.github/workflows/release-aur.yml new file mode 100644 index 0000000..64bd4c0 --- /dev/null +++ b/.github/workflows/release-aur.yml @@ -0,0 +1,17 @@ +name: Release to AUR + +on: + workflow_dispatch: + push: + branches: [master] + +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Print pkgver + run: echo "::set-output name=PKGVER::"`printf "%s.r%s.%s" "$(grep -F '__version__ =' epy.py | awk -F\" '{print $2}')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"` + id: pkgver + - name: test + run: echo "pkgver: ${{ steps.pkgver.PKGVER }}" -- cgit