mirror of
https://github.com/SK8-ENGINE/skate-3-rust-engine.git
synced 2026-10-26 19:47:44 +00:00
Fix branch updater 401 by publishing public branch releases.
CI artifacts require GitHub auth, so skyline-driving-update now publishes downloadable release assets and the updater prefers those over Actions artifacts. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
ec09165491
commit
3dd61acc62
4 files changed
+216
-12
No files matched your search
@@ -60,7 +60,7 @@ jobs:
|
||||
target/release.json
|
||||
publish:
|
||||
needs: windows
|
||||
if: github.event_name == 'release' || github.ref == 'refs/heads/main'
|
||||
if: github.event_name == 'release' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/skyline-driving-update'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -74,10 +74,15 @@ jobs:
|
||||
name: skate3rust-windows-x64
|
||||
path: target
|
||||
- name: Publish rolling experimental
|
||||
if: github.event_name != 'release'
|
||||
if: github.event_name != 'release' && github.ref == 'refs/heads/main'
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: python tools/publish_experimental.py --directory target
|
||||
- name: Publish branch release
|
||||
if: github.event_name != 'release' && github.ref == 'refs/heads/skyline-driving-update'
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: python tools/publish_branch.py --directory target --branch skyline-driving-update
|
||||
- name: Attach numbered release
|
||||
if: github.event_name == 'release'
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user