aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/release-aur.yml
blob: a98c714304967b72c3d7ddc8e65fe8944bcdf409 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.outputs.PKGVER }}"