mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
when tag xlibre-xserver-* is pushed, automatically create a github release. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
22 lines
466 B
YAML
22 lines
466 B
YAML
name: Publish release on github
|
|
|
|
on:
|
|
push
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
release:
|
|
name: Release pushed tag
|
|
runs-on: ubuntu-latest
|
|
if: ${{ startsWith(github.ref, 'refs/tags/xlibre-xserver-') }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Create release
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
tag: ${{ github.ref_name }}
|
|
run: .github/scripts/github/make-release
|