File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 build :
1515 strategy :
1616 matrix :
17- os : [windows-2022, ubuntu-22.04]
17+ platform :
18+ - {name: windows, os: windows-2022}
19+ - {name: linux, os: ubuntu-22.04}
1820 arch : [x86_64, aarch64]
19- runs-on : ${{ matrix.os }}
21+ runs-on : ${{ matrix.platform. os }}
2022 steps :
2123 - uses : actions/checkout@v3
2224 - uses : CompeyDev/setup-rokit@v0.1.2
@@ -29,15 +31,15 @@ jobs:
2931 run : darklua process src/Repackage.luau bundle/Bundled.luau -c bundle/darklua.config
3032
3133 - name : Build (Windows)
32- if : matrix.os == 'windows-2022 '
34+ if : matrix.platform.name == 'windows'
3335 run : lune build bundle/Bundled.luau -o bundle/Repackage-${{ matrix.arch }}.exe -t windows-${{ matrix.arch }}
3436
3537 - name : Build (Linux)
36- if : matrix.os == 'ubuntu-22.04 '
38+ if : matrix.platform.name == 'linux '
3739 run : lune build bundle/Bundled.luau -o bundle/Repackage-${{ matrix.arch }} -t linux-${{ matrix.arch }}
3840
3941 - name : Upload Bundle Artifact
4042 uses : actions/upload-artifact@v4
4143 with :
42- name : Repackage-${{ matrix.os }}-${{ matrix.arch }}
44+ name : Repackage-${{ matrix.platform.name }}-${{ matrix.arch }}
4345 path : bundle/Repackage*
You can’t perform that action at this time.
0 commit comments