aboutsummaryrefslogblamecommitdiffstats
path: root/.github/workflows/release-aur.yml
blob: e9b474ad5e6c08d8b06904734c5bb7985fdc3f6d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                                                                                                                             
                                                              
 
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 }}"