Skip to content

Package for craft

Package for craft #3

Workflow file for this run

name: 📦 Package for craft
on:
workflow_call:
jobs:
package:
name: 📦 Package for craft
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: sentry-godot-gdextension
path: artifact/

Check failure on line 19 in .github/workflows/package.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/package.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
- name: Prepare artifact
run:
cd artifact/
# Fix crashpad_handler permissions, workaround for https://github.com/actions/upload-artifact/issues/38
chmod +x addons/sentrysdk/bin/{linux,macos}/crashpad_handler
# Create release archive
version=$(grep 'VERSION =' SConstruct | cut -d '"' -f 2)
git_short_sha=$(git rev-parse --short HEAD)
archive_file="sentry-godot-gdextension-${version}+${git_short_sha}.zip"
zip -r ${GITHUB_WORKSPACE}/out/${archive_file} ./*
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{github.sha}}
path: out/*