Skip to content

Release

Release #52

Workflow file for this run

on:
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 }}`

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 46
- name: Release
if: !contains(github.ref, 'alpha') && !contains(github.ref, 'beta') && !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 }}`