Skip to content

v0.9.5

v0.9.5 #1

Workflow file for this run

name: Build and upload release
on:
release:
types: [published]
permissions:
contents: write
jobs:
version:
name: Set up release version
runs-on: windows-latest
steps:
- id: version
name: Grab version
run: |
TAG=${{ github.event.release.tag_name }}
echo "version=${TAG#v}" >> "$GITHUB_OUTPUT"
shell: bash
outputs:
version: ${{ steps.version.outputs.version }}
build:
needs: version
name: Build app
uses: ./.github/workflows/build.yaml
with:
version: ${{ needs.version.outputs.version }}

Check failure on line 28 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Build and upload release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 28, Col: 22): Invalid input, version is not defined in the referenced workflow.
release:
needs: [version, build]
name: Upload installer
runs-on: windows-latest
steps:
- name: Upload installer
run: |
gh release upload ${{ github.event.release.tag_name }} Output/ACC-Connector-Setup-${{ needs.version.outputs.version }}.exe
env:
GH_TOKEN: ${{ github.token }}