Skip to content

Commit

Permalink
Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Feb 22, 2024
1 parent 442e6d1 commit 55cdacc
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
47 changes: 47 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CI

on:
push:
pull_request:
branches:
- main

jobs:
package-haxelib:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/upload-artifact@v3
with:
name: feathersui-minimal-theme-haxelib
path: |
assets/
src/
haxelib.json
include.xml
README.md
LICENSE
NOTICE
CHANGELOG.md
if-no-files-found: error

build-flash:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.0.5
- name: Set up Haxelib dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install feathersui --quiet
haxelib dev feathersui-minimal-theme ${{ github.workspace }}
- name: Build Flash .swc library
run: haxelib run openfl build flash -debug
- uses: actions/upload-artifact@v3
with:
name: feathersui-minimal-theme-swc
path: bin/flash/bin/feathersui-minimal-theme.swc
if-no-files-found: error
2 changes: 1 addition & 1 deletion project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project>

<meta title="MinimalTheme" package="com.feathersui.MinimalTheme" version="1.0.0" company="Bowler Hat LLC" />
<app main="feathers.controls.Application" path="bin" file="feathersui-minimal" />
<app main="feathers.controls.Application" path="bin" file="feathersui-minimal-theme" />

<source path="src" />

Expand Down

0 comments on commit 55cdacc

Please sign in to comment.