Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
update build.yml for correct artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Platt authored and Marc Platt committed Jan 2, 2025
1 parent a552544 commit 1ebffb5
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
matrix:
build: [macos, windows, linux]

outputs:
extension_path: ${{ steps.save-path.outputs.path }}

steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -52,12 +55,11 @@ jobs:
cp target/aarch64-apple-darwin/release/libcusf_launcher_crypto.dylib ../cusf_launcher/addons/cusf_launcher_crypto/bin/
fi
- name: Upload GDExtension
uses: actions/upload-artifact@v4
- name: Cache GDExtension
uses: actions/cache@v3
with:
name: gdextension_${{ matrix.build }}
if-no-files-found: error
path: cusf_launcher/addons/cusf_launcher_crypto/bin/*
path: cusf_launcher/addons/cusf_launcher_crypto/bin
key: gdextension-${{ matrix.build }}-${{ github.sha }}

build-godot:
name: Build Godot Project
Expand All @@ -84,11 +86,11 @@ jobs:
use-dotnet: false
include-templates: true

- name: Download GDExtension
uses: actions/download-artifact@v4
- name: Restore GDExtension
uses: actions/cache@v3
with:
name: gdextension_${{ matrix.build }}
path: cusf_launcher/addons/cusf_launcher_crypto/bin/
path: cusf_launcher/addons/cusf_launcher_crypto/bin
key: gdextension-${{ matrix.build }}-${{ github.sha }}

- name: Verify Setup
run: godot --version
Expand Down

0 comments on commit 1ebffb5

Please sign in to comment.