Skip to content

Commit

Permalink
Publish new versions with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wjt committed Sep 24, 2024
1 parent 03001f3 commit 8396e46
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/godot-asset-library.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
release:
types:
- published

name: Push to Godot Asset Library

jobs:
publish:
runs-on: ubuntu-latest
name: Push new release
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Push to Godot Asset Library
uses: deep-entertainment/[email protected]
with:
username: ${{ secrets.GODOT_ASSET_LIBRARY_USERNAME }}
password: ${{ secrets.GODOT_ASSET_LIBRARY_PASSWORD }}
assetId: TODO
assetTemplate: asset-template.json.hb
14 changes: 14 additions & 0 deletions asset-template.json.hb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": "Moddable Platformer",
"description": "This mini moddable game project by Endless OS Foundation is intended to help ease the learning curve into Godot.\n\nThis sample project allows learners to engage with game creation concepts, applying various modifications to the game itself, all without reading or writing any code.\n\nThe doc/MODS.md file details the mods that have been made available.",
"category_id": "9",
"godot_version": "4.3",
"version_string": "{{ context.release.name }}",
"cost": "MIT",
"support_level": "community",
"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/endlessm/moddable-platformer/{{ context.release.tag_name }}/icon.png"
}

0 comments on commit 8396e46

Please sign in to comment.