-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from HotariTobu/feat/HotariTobu-publish-on-rel…
…ease Add publish workflow
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"type": "addon", | ||
"title": "GD Data Binding", | ||
"version_string": "{{ context.release.tag_name }}", | ||
"category": "Scripts", | ||
"category_id": "6", | ||
"godot_version": "4.0", | ||
"cost": "CC0", | ||
"description": "GD Data Binding is a Godot library that simplifies your UI coding by automatically syncing data between views and models.", | ||
"download_provider": "GitHub", | ||
"download_commit": "{{ env.GITHUB_SHA }}", | ||
"browse_url": "{{ context.repository.html_url }}", | ||
"issues_url": "{{ context.repository.html_url }}/issues", | ||
"icon_url": "https://raw.githubusercontent.com/HotariTobu/gd-data-binding/refs/heads/main/images/icon.png" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Publish to Godot Asset Library | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
publish: | ||
name: Publish to Godot Asset Library | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Edit Asset | ||
uses: deep-entertainment/godot-asset-lib-action@v0.6.0 | ||
with: | ||
username: Hotari | ||
password: ${{ secrets.ASSET_STORE_PASSWORD }} | ||
assetId: 3423 | ||
assetTemplate: .asset-template |