CI fix
Some checks failed
🏗️ Build Plugin / build (push) Successful in 44s
🧪 Test Plugin / test (push) Successful in 36s
🚀 Release Plugin / build-and-release (push) Failing after 42s

This commit is contained in:
Duncan Tourolle 2026-02-28 12:21:35 +01:00
parent 12af9bddb1
commit a6ae4994e9
2 changed files with 6 additions and 4 deletions

View File

@ -43,9 +43,11 @@ jobs:
run: | run: |
mkdir -p artifacts mkdir -p artifacts
jprm --verbosity=debug plugin build . jprm --verbosity=debug plugin build .
ARTIFACT=$(find . -name "*.zip" -type f -print -quit) ARTIFACT=$(find . -name "*.zip" -type f -print -quit | sed 's|^\./||')
echo "artifact=${ARTIFACT}" >> $GITHUB_OUTPUT LATEST="artifacts/srfplay_latest.zip"
echo "Found artifact: ${ARTIFACT}" cp "${ARTIFACT}" "${LATEST}"
echo "artifact=${LATEST}" >> $GITHUB_OUTPUT
echo "Found artifact: ${ARTIFACT} -> ${LATEST}"
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

View File

@ -60,7 +60,7 @@ jobs:
run: | run: |
mkdir -p artifacts mkdir -p artifacts
jprm --verbosity=debug plugin build ./ jprm --verbosity=debug plugin build ./
ARTIFACT=$(find . -name "*.zip" -type f -print -quit) ARTIFACT=$(find . -name "*.zip" -type f -print -quit | sed 's|^\./||')
ARTIFACT_NAME=$(basename "${ARTIFACT}") ARTIFACT_NAME=$(basename "${ARTIFACT}")
echo "artifact=${ARTIFACT}" >> $GITHUB_OUTPUT echo "artifact=${ARTIFACT}" >> $GITHUB_OUTPUT
echo "artifact_name=${ARTIFACT_NAME}" >> $GITHUB_OUTPUT echo "artifact_name=${ARTIFACT_NAME}" >> $GITHUB_OUTPUT