Skip to content

Commit

Permalink
Build swf
Browse files Browse the repository at this point in the history
(References: #42)
  • Loading branch information
Aszusz committed Mar 4, 2024
1 parent 7abd63b commit 47ab848
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,42 @@ jobs:
haxelib install openfl --quiet
haxelib install lime --quiet
- name: Build
- name: Build swc
working-directory: MoonshineSDKInstallerGUICore
run: |
haxelib run openfl build project.xml flash -debug
- name: Show files
- name: Build swc
working-directory: MoonshineSDKInstallerGUICore
run: |
ls MoonshineSDKInstallerGUICore/bin/flash/bin
haxelib run openfl build project.xml flash -debug
- name: Build swf
working-directory: MoonshineSDKInstaller/src
run: >
"${FLEX_HOME}/bin/mxmlc" "../src/MoonshineSDKInstaller.mxml"
-output msdki.swf
-swf-version=41
+configname=air
-optimize=true
-debug=false
-actionscript-file-encoding=UTF-8
-incremental=false
-keep-generated-actionscript=false
-allow-source-path-overlap=true
-source-path="../src"
-source-path+="../../flex-utilities/flex-installer/common/src"
-source-path+="../../flex-utilities/flex-installer/ant_on_air/external"
-source-path+="../../flex-utilities/flex-installer/ant_on_air/src"
-source-path+="../../flex-utilities/flex-installer/ant_on_air/locale/en_US"
-source-path+="../../ApacheFlexSDKInstallerLib/src"
-source-path+="../../InstallerSharedCore/src"
-compiler.library-path+="../../ApacheFlexSDKInstallerLib/libs/as3commons-zip-1.0.0-alpha.1.swc"
-compiler.library-path+="../../ApacheFlexSDKInstallerLib/libs/as3httpclient.swc"
-compiler.library-path+="../../MoonshineSDKInstallerGUICore/bin/flash/bin/MoonshineSDKInstallerGUICore.swc"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: MoonshineSDKInstallerGUICore
path: MoonshineSDKInstallerGUICore/bin/flash/bin
name: msdki.swf
path: MoonshineSDKInstaller/src/msdki.swf

0 comments on commit 47ab848

Please sign in to comment.