Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

release.yml: the compile cache's script comes from the workflow's own commit (a sparse checkout into .workflow), not the tag's tree: a dispatched dry run that fills the cache builds an older tag (v0.1.3-rc3), whose tree has no tools/release/compile-cache.sh, so its Linux and Windows jobs stopped at 'Use the compile cache' with exit 127

shinyobjectzd68576238286
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3468889b..30355ed7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -117,9 +117,19 @@ jobs:
- name: Compile cache (sccache)
if: env.RAEA_PROMOTED_FROM == '' && env.AWS_ACCESS_KEY_ID != ''
uses: mozilla-actions/[email protected]
+ # the script from this workflow's own commit: a dispatched run (a dry run that fills the cache) builds an older
+ # tag, whose tree may not have it
+ - name: The compile cache's script
+ if: env.RAEA_PROMOTED_FROM == '' && env.AWS_ACCESS_KEY_ID != ''
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ github.sha }}
+ path: .workflow
+ sparse-checkout: tools/release/compile-cache.sh
+ sparse-checkout-cone-mode: false
- name: Use the compile cache
if: env.RAEA_PROMOTED_FROM == '' && env.AWS_ACCESS_KEY_ID != ''
- run: bash tools/release/compile-cache.sh
+ run: bash .workflow/tools/release/compile-cache.sh
- name: Build
if: env.RAEA_PROMOTED_FROM == ''
run: |
@@ -245,9 +255,19 @@ jobs:
- name: Compile cache (sccache, as build's)
if: env.RAEA_PROMOTED_FROM == '' && env.AWS_ACCESS_KEY_ID != ''
uses: mozilla-actions/[email protected]
+ # the script from this workflow's own commit: a dispatched run (a dry run that fills the cache) builds an older
+ # tag, whose tree may not have it
+ - name: The compile cache's script
+ if: env.RAEA_PROMOTED_FROM == '' && env.AWS_ACCESS_KEY_ID != ''
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ github.sha }}
+ path: .workflow
+ sparse-checkout: tools/release/compile-cache.sh
+ sparse-checkout-cone-mode: false
- name: Use the compile cache
if: env.RAEA_PROMOTED_FROM == '' && env.AWS_ACCESS_KEY_ID != ''
- run: bash tools/release/compile-cache.sh
+ run: bash .workflow/tools/release/compile-cache.sh
- name: Build
if: env.RAEA_PROMOTED_FROM == ''
run: |