Skip to content

Release

Release #57

Workflow file for this run

on:

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml: (Line: 48, Col: 11, Idx: 1218) - (Line: 48, Col: 12, Idx: 1219): While parsing a tag, did not find expected tag URI.
push:
tags:
- "v*.*.*-*"
name: Release
jobs:
docker-build:
uses: ./.github/workflows/docker.yml
build-and-test:
uses: ./.github/workflows/build.yml
create-release:
# needs:
# - docker-build
# - build-and-test
runs-on: ubuntu-latest
steps:
# - uses: actions/download-artifact@v3
# with:
# name: thundering-herd-scheduler-binaries
# path: bin
# - name: debug list files
# run: find .
- name: Draft Release
if: contains(github.ref, 'alpha') || contains(github.ref, 'beta')
uses: softprops/action-gh-release@v1
with:
files: bin/thundering-herd-scheduler*
append_body: true
draft: true
body: |
Build also available as docker image:
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}`
- name: PreRelease
if: contains(github.ref, 'rc')
uses: softprops/action-gh-release@v1
with:
files: bin/thundering-herd-scheduler*
append_body: true
prerelease: true
body: |
Build also available as docker image:
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}`
- name: Release
if: ! contains(github.ref, 'rc')
uses: softprops/action-gh-release@v1
with:
files: bin/thundering-herd-scheduler*
append_body: true
draft: contains(github.ref, 'alpha') || contains(github.ref, 'beta')
prerelease: contains(github.ref, 'rc')
body: |
Build also available as docker image:
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}`