feat: Added Assetlib release workflow

This commit is contained in:
Dennis Ploeger
2021-10-15 22:37:15 +02:00
parent 5fe1562577
commit b042d8bf42
2 changed files with 32 additions and 0 deletions

13
.asset-template.json.hb Normal file
View File

@@ -0,0 +1,13 @@
{
"title": "Escoria Demo Game",
"description": "A demo game made using the Escoria framework",
"category_id": "10",
"godot_version": "3.3",
"version_string": "{{ context.release.tag_name }}",
"cost": "MIT",
"download_provider": "GitHub",
"download_commit": "{{ env.GITHUB_SHA }}",
"browse_url": "{{ context.repository.html_url }}",
"issues_url": "https://github.com/godot-escoria/escoria-issues/issues",
"icon_url": "https://github.com/godot-escoria/.github/raw/main/design/escoria-icon.png"
}

19
.github/workflows/assetlib.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
on:
release:
types:
- published
name: "Push to assetlib"
jobs:
publish:
runs-on: ubuntu-latest
name: "Publish new version to asset lib"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Godot Asset Lib
uses: deep-entertainment/godot-asset-lib-action@main
with:
username: escoria
password: ${{ secrets.ASSET_STORE_PASSWORD }}
assetId: 4368