Skip to content

Commit

Permalink
Merge pull request #11 from endlessm/push-qtozlqwsozvz
Browse files Browse the repository at this point in the history
Publish new versions with GitHub Actions
  • Loading branch information
dbnicholson authored Sep 24, 2024
2 parents aea85f4 + 5f466f5 commit cca64a3
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Normalize EOL for all files that Git considers text files.
* text=auto eol=lf

# Exclude GitHub Actions-related files from published asset
/.github export-ignore
/asset-template.json.hb export-ignore

# Exclude artwork sources
/asset-sources export-ignore
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
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: 3360
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": "Block Coding Demos",
"description": "These are demos for the Godot Block Coding Plugin. Intended to show the potential and find limitations on the plugin, in order to instruct its development.",
"category_id": "10",
"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/godot-block-coding/refs/heads/main/icon.png"
}

0 comments on commit cca64a3

Please sign in to comment.