Skip to content

Workflow file for this run

on:
release:
types: [created]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create directory for extension
run: |
mkdir -p balamod_extension_tools
cp -r extension-src/* balamod_extension_tools
- uses: vimtor/[email protected]
with:
files: balamod_extension_tools
dest: balamod_extension_tools.aseprite-extension
- uses: vimtor/[email protected]
with:
files: fonts
dest: fonts.zip
- name: Get Current Release
id: get_current_release
uses: joutvhu/get-release@v1
with:
debug: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Extension
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_current_release.outputs.upload_url }}
asset_path: ./balamod_extension_tools.aseprite-extension
asset_name: balamod_extension_tools.aseprite-extension
asset_content_type: application/zip
- name: Upload Release Fonts
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_current_release.outputs.upload_url }}
asset_path: ./fonts.zip
asset_name: fonts.zip
asset_content_type: application/zip