Skip to content

Release

Release #21

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build-linux:
name: Linux x64
uses: ./.github/workflows/build-linux.yml
build-macos:
name: macOS x64
uses: ./.github/workflows/build-macos.yml
build-windows:
name: Windows x64
uses: ./.github/workflows/build-windows.yml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "./.github/workflows/build-windows.yml" (source branch with sha:2aefc31110e34a2ed1760965818d53401e3e962e) : workflow is not reusable as it is missing a `on.workflow_call` trigger
build-docker:
name: Docker
uses: ./.github/workflows/build-docker.yml
with:
repo: 'ghcr.io/${{ github.repository }}'
context_path: '.'
image: 'scrapegoat'
tag: '${{ github.ref_name }}'
dockerfile_path: './Dockerfile'
secrets:
PACKAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# create-release:
# needs: [build-linux, build-macos, build-windows, build-docker]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Download Linux artifact
# uses: actions/download-artifact@v3
# with:
# name: Linux Executable
# path: artifacts
# - name: Download macOS artifact
# uses: actions/download-artifact@v3
# with:
# name: macOS Executable
# path: artifacts
# - name: Download Windows artifact
# uses: actions/download-artifact@v3
# with:
# name: Windows Executable
# path: artifacts
# - name: Read release message
# id: release_message
# run: echo "message=$(cat RELEASE_MESSAGE.md)" >> $GITHUB_OUTPUT
# - name: Create GitHub Release
# uses: softprops/action-gh-release@v1
# with:
# files: |
# artifacts/scrapegoat_linux
# artifacts/scrapegoat_macos_x64
# artifacts/scrapegoat_windows_x64.exe
# body: ${{ steps.release_message.outputs.message }}
# tag_name: ${{ github.ref_name }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}