Skip to content

Workflow file for this run

name: release
on:
workflow_call:
inputs:
workflow:
description: "Which workflow to build"
required: true
type: string
jobs:
do-build:
uses: ${{ inputs.workflow }}

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

invalid value workflow reference: no version specified
with:
os: ubuntu-latest
release-build:
needs: do-build
runs-on: ubuntu-latest
steps:
- name: grab binary
id: grab
uses: actions/download-artifact@v3
with:
path: out
- name: prep
run: |
VERSION=$(cut -d/ -f3- <<< "$GITHUB_REF")
VERSION=`echo $VERSION | awk -F- '{print $NF}'`
OUT=${{ steps.grab.outputs.download-path }}
for build in `ls $OUT`; do
mv $OUT/$build $OUT/`basename $build .zip`-$VERSION.zip
done
- name: cut release
uses: softprops/action-gh-release@v1
with:
draft: true
fail_on_unmatched_files: true
files: |
${{ steps.grab.outputs.download-path }}/*.zip