ci: also link to tarball in github release
[platform/upstream/libxkbcommon.git] / .github / workflows / github-release.yml
1 name: github-release
2
3 on:
4   push:
5     tags:
6       - 'xkbcommon-*'
7
8 jobs:
9   build:
10     name: Automatically create GitHub release for tag
11     runs-on: ubuntu-20.04
12     steps:
13       - uses: actions/checkout@v2
14       - uses: actions/create-release@v1
15         env:
16           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17         with:
18           tag_name: ${{ github.ref }}
19           release_name: ${{ github.ref }}
20           body: |
21             See the [NEWS](https://github.com/xkbcommon/libxkbcommon/blob/master/NEWS) file for the changes.
22
23             Official tarball: https://xkbcommon.org/download/lib${{ github.ref }}.tar.xz