feat(ci): improve pipeline #50
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / ReleaseInvalid workflow file
|
||
prerelease: ${{ contains(github.ref, "rc") }} | ||
body: | | ||
Build also available as docker image: | ||
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}` |