Skip to content

Commit

Permalink
Merge pull request #26 from HotariTobu/feat/HotariTobu-publish-on-rel…
Browse files Browse the repository at this point in the history
…ease

Add publish workflow
  • Loading branch information
HotariTobu authored Oct 20, 2024
2 parents e7b25a3 + 831ae13 commit 560f8ad
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .asset-template
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"
}
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
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

0 comments on commit 560f8ad

Please sign in to comment.