feat: implement Candy Cannon mechanics, CI/CD pipelines, and version 2.3.7 updates
This commit is contained in:
@@ -54,7 +54,32 @@ jobs:
|
||||
- name: Run Build Patch Script
|
||||
run: godot --headless -s tools/build_patch.gd
|
||||
|
||||
# ── 5. Push patch.pck to public repo ─────────────────────────────────
|
||||
# ── 5. Generate checksums ─────────────────────────────────────────────────
|
||||
- name: Generate Checksums
|
||||
run: |
|
||||
sha256sum patch.pck > patch.pck.sha256
|
||||
sha256sum assets/data/version.json > version.json.sha256
|
||||
|
||||
# ── 6. Upload artifacts to GitHub ─────────────────────────────────────────
|
||||
- name: Upload Patch Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: patch-pck-${{ github.sha }}
|
||||
path: |
|
||||
patch.pck
|
||||
patch.pck.sha256
|
||||
retention-days: 90
|
||||
|
||||
- name: Upload Version Manifest
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: version-manifest-${{ github.sha }}
|
||||
path: |
|
||||
assets/data/version.json
|
||||
version.json.sha256
|
||||
retention-days: 90
|
||||
|
||||
# ── 7. Push patch.pck to public repo ─────────────────────────────────────
|
||||
- name: Push patch.pck to Public Repository
|
||||
uses: dmnemec/copy_file_to_another_repo_action@main
|
||||
env:
|
||||
@@ -67,7 +92,19 @@ jobs:
|
||||
user_name: 'PatchBot'
|
||||
commit_message: '[AUTO] Pushed new patch.pck'
|
||||
|
||||
# ── 6. Push version.json to public repo ──────────────────────────────
|
||||
- name: Push patch checksum to Public Repository
|
||||
uses: dmnemec/copy_file_to_another_repo_action@main
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.PUBLIC_REPO_PAT }}
|
||||
with:
|
||||
source_file: 'patch.pck.sha256'
|
||||
destination_repo: '${{ github.actor }}/tekton-updates'
|
||||
destination_folder: 'latest'
|
||||
user_email: 'action@github.com'
|
||||
user_name: 'PatchBot'
|
||||
commit_message: '[AUTO] Pushed patch checksum'
|
||||
|
||||
# ── 8. Push version.json to public repo ──────────────────────────────────
|
||||
- name: Push version.json to Public Repository
|
||||
uses: dmnemec/copy_file_to_another_repo_action@main
|
||||
env:
|
||||
@@ -79,3 +116,15 @@ jobs:
|
||||
user_email: 'action@github.com'
|
||||
user_name: 'PatchBot'
|
||||
commit_message: '[AUTO] Pushed new version.json'
|
||||
|
||||
- name: Push version checksum to Public Repository
|
||||
uses: dmnemec/copy_file_to_another_repo_action@main
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.PUBLIC_REPO_PAT }}
|
||||
with:
|
||||
source_file: 'version.json.sha256'
|
||||
destination_repo: '${{ github.actor }}/tekton-updates'
|
||||
destination_folder: 'latest'
|
||||
user_email: 'action@github.com'
|
||||
user_name: 'PatchBot'
|
||||
commit_message: '[AUTO] Pushed version checksum'
|
||||
|
||||
Reference in New Issue
Block a user