aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pre-release.yml
blob: c799d1ca5627a26ff27cb3c710c0c3e567c14094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Prerelease

on:
  push:
    tags:
      - '*-rc*'

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Release
        uses: actions/create-release@v1
        env:
          GITHUB_USER: ${{ secrets.WORKFLOW_RELEASE_USER }}
          GITHUB_TOKEN: ${{ secrets.WORKFLOW_RELEASE_PAT }}
        with:
          tag_name: ${{ github.ref }}
          release_name: ${{ github.ref }}
          body: |
            This is a release candidate of Rakudo Star. It is ment for testing
            purposes, to eventually release a production quality release.
          draft: false
          prerelease: true