summaryrefslogtreecommitdiff
path: root/.github/workflows/make_release.yml
blob: 47dbbea374ae864c5ee87def6e1261a4423d4931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Make a Github release

on:
  push:
    tags:
      - "v*"

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Release
        uses: softprops/action-gh-release@v1
        with:
          prerelease: ${{ contains(github.ref_name, '-rc') }}
          draft: ${{ github.repository == 'systemd/systemd' }}