Skip to content

still probably broken #2

still probably broken

still probably broken #2

Workflow file for this run

name: 📦 Release

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 25, Col: 17): Unexpected symbol: '$GITHUB_WORKSPACE'. Located at position 1 within expression: $GITHUB_WORKSPACE
on:
workflow_call:
jobs:
release:
runs-on: ubuntu-latest
name: ✉️ Release ${{ matrix.artifact }}
strategy:
fail-fast: false
matrix:
artifact:
- godot-with-patchwork-windows
- godot-with-patchwork-linux
- godot-with-patchwork-macos
- patchwork-godot-plugin
- threadbare-with-patchwork
- moddable-platformer-with-patchwork
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
pattern: ${{ matrix.artifact }}
path: ${{ $GITHUB_WORKSPACE }}
- name: Zip artifact
run: |
zip -r9 ${{ matrix.artifact }}-${{ github.ref_name }}.zip ${{ matrix.artifact }}/*
- name: Release artifact
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v2
with:
files: |
${{ matrix.artifact }}-${{ github.ref_name }}.zip