Skip to content

feat(ci): improve pipeline #50

feat(ci): improve pipeline

feat(ci): improve pipeline #50

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: Release
uses: softprops/action-gh-release@v1
with:
files: bin/thundering-herd-scheduler*
append_body: true
draft: ${{ contains(github.ref, "alpha") || contains(github.ref, "beta") }}

Check failure on line 29 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: 29, Col: 16): Unexpected symbol: '"alpha"'. Located at position 22 within expression: contains(github.ref, "alpha") || contains(github.ref, "beta") .github/workflows/release.yml (Line: 30, Col: 21): Unexpected symbol: '"rc"'. Located at position 22 within expression: contains(github.ref, "rc")
prerelease: ${{ contains(github.ref, "rc") }}
body: |
Build also available as docker image:
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}`