Skip to content

Commit

Permalink
Add godot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexejhero committed Dec 22, 2024
1 parent 8b69a52 commit 396ffd6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/godot-sdk-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Update Godot SDK on Godot Asset Library

on:
push:
branches:
- main

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Create archive
run: |
cd Godot
zip -r NeuroSdk.zip addons
- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:
file: Godot/NeuroSdk.zip
tag: godot
overwrite: true
make_latest: false

#- name: Update Godot Asset Library metadata
# uses: deep-entertainment/[email protected]
# with:
# assetId: ${{ vars.GODOT_ASSET_LIBRARY_ASSET_ID }}
# username: ${{ secrets.GODOT_ASSET_LIBRARY_USERNAME }}
# password: ${{ secrets.GODOT_ASSET_LIBRARY_PASSWORD }}
# assetTemplate: Godot/.asset-metadata.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Publish NuGet package for Unity SDK
name: Publish Unity SDK on NuGet

on: [workflow_dispatch]

jobs:
build:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand Down

0 comments on commit 396ffd6

Please sign in to comment.