Skip to content

Update on 'master' '12a519ddadfa4a0af0900d640d7496c9e2cd8981' #11 #11

Update on 'master' '12a519ddadfa4a0af0900d640d7496c9e2cd8981' #11

Update on 'master' '12a519ddadfa4a0af0900d640d7496c9e2cd8981' #11 #11

name: ↗️ Update GDExtension binaries from collected artifacts
run-name: "Update on '${{github.ref_name}}' '${{github.sha}}' #${{github.run_number}}"
on:
workflow_dispatch:
repository_dispatch:
jobs:
update:
name: Update GDExtension binaries
runs-on: ubuntu-latest
env:
ADDON_LIBS_PATH: addons/godot_qoi/libs
steps:
- name: Checkout
uses: actions/checkout@v3
with:
lfs: true
- name: Download GDExtension Binaries
uses: dawidd6/action-download-artifact@v2
with:
workflow: gdextension_build.yml
branch: ${{github.ref_name}}
name: gdextension_libs
path: extracted_files/
- name: Replace with new files
run: |
ls -R extracted_files
rm -rf ${{env.ADDON_LIBS_PATH}}/
mv -f extracted_files ${{env.ADDON_LIBS_PATH}}
- name: Commit report
run: |
git config --global user.name 'Auto Updater'
git config --global user.email 'auto-updater@users.noreply.github.com'
git diff
echo "# Changed files:" >> $GITHUB_STEP_SUMMARY
git diff --name-only >> $GITHUB_STEP_SUMMARY
git add -A
git commit -am "[CI] ↗️ Updated Binaries"
git push