ci: bump runs-on versions
[platform/upstream/libxkbcommon.git] / .github / workflows / github-release.yml
1 name: github-release
2
3 on:
4   push:
5     tags:
6       - 'xkbcommon-*'
7
8 # Set permissions at the job level.
9 permissions: {}
10
11 jobs:
12   build:
13     name: Automatically create GitHub release for tag
14     runs-on: ubuntu-22.04
15     permissions:
16       contents: write
17     steps:
18       - uses: actions/checkout@v3
19         with:
20           fetch-depth: 0
21           persist-credentials: false
22
23       - uses: actions/create-release@v1
24         env:
25           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26         with:
27           tag_name: ${{ github.ref }}
28           release_name: ${{ github.ref }}
29           body: |
30             See the [NEWS](https://github.com/xkbcommon/libxkbcommon/blob/master/NEWS) file for the changes.
31
32             Official tarball: https://xkbcommon.org/download/lib${{ github.ref }}.tar.xz