Skip to content

Commit

Permalink
add github action and test get version steps
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingadonis committed Apr 4, 2024
1 parent 64a3c1b commit c3908a3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[*.{yml,md}]
indent_style = space
indent_size = 2
23 changes: 23 additions & 0 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto build Aseprite

on:
push:
branches: ["main"]

jobs:
auto-build:
name: Auto build Aseprite for Windows x64
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Get Aseprite version
id: get_version
run: |
echo "version=$(./get_version.bat)" >> $GITHUB_OUTPUT
- name: Print Aseprite version
run: |
echo "Aseprite version: ${{ steps.get_version.outputs.version }}"
3 changes: 3 additions & 0 deletions get_version.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set ASEPRITE_VERSION=v1.3.5

echo %ASEPRITE_VERSION%

0 comments on commit c3908a3

Please sign in to comment.