2021-05-22 11:22:56 -06:00
|
|
|
name: github-release
|
2021-05-22 11:17:35 -06:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- 'xkbcommon-*'
|
|
|
|
|
2021-05-22 11:31:32 -06:00
|
|
|
# Set permissions at the job level.
|
|
|
|
permissions: {}
|
|
|
|
|
2021-05-22 11:17:35 -06:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Automatically create GitHub release for tag
|
|
|
|
runs-on: ubuntu-20.04
|
2021-05-22 11:31:32 -06:00
|
|
|
permissions:
|
|
|
|
contents: write
|
2021-05-22 11:17:35 -06:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-05-22 11:31:32 -06:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
persist-credentials: false
|
|
|
|
|
2021-05-22 11:17:35 -06:00
|
|
|
- uses: actions/create-release@v1
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
tag_name: ${{ github.ref }}
|
|
|
|
release_name: ${{ github.ref }}
|
|
|
|
body: |
|
|
|
|
See the [NEWS](https://github.com/xkbcommon/libxkbcommon/blob/master/NEWS) file for the changes.
|
2021-05-22 11:22:56 -06:00
|
|
|
|
2021-09-16 15:00:11 -06:00
|
|
|
Official tarball: https://xkbcommon.org/download/lib${GITHUB_REF#refs/tags/}.tar.xz
|