feat: Added Assetlib release workflow
This commit is contained in:
13
.asset-template.json.hb
Normal file
13
.asset-template.json.hb
Normal 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
19
.github/workflows/assetlib.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user