Update main.yml

This commit is contained in:
MeowcaTheoRange 2022-05-08 10:35:47 -05:00 committed by GitHub
parent 3cf1011530
commit 0c1c6a1dd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,10 +29,16 @@ jobs:
- name: Install Dependencies
run: sudo npm install -g nativefier
- name: Stage Overall
run: |
cd ${{ github.workspace }}
zip -r Mid_Simulator.Source.zip *
mkdir build
mv Mid_Simulator.Source.zip build/Mid_Simulator.Source.zip
- name: Stage For Linux
run: |
cd ${{ github.workspace }}
mkdir build
cd build
nativefier https://meowcatheorange.github.io/Mid-Simulator/ --icon "${{ github.workspace }}/sprites/jellybeanTitle.png" --name "Mid-Simulator" --platform linux --arch x64 --portable --disable-context-menu --height 400 --width 700 --single-instance --zoom 1.0 --lang "en-US" --min-width 700 --min-height 400 --max-width 1400 --max-height 800
cd Mid-Simulator-linux-x64
@ -74,8 +80,8 @@ jobs:
- uses: ncipollo/release-action@v1
with:
artifacts: "${{ github.workspace }}/build/*.zip"
body: "Electron build of Mid-Sim, built on ${{ runner.name }} (${{ runner.os }} ${{ runner.arch }})"
tag: "MidSimElectron-${{ github.sha }}"
body: "Electron build of Mid-Sim, built automatically on ${{ runner.name }} (${{ runner.os }} ${{ runner.arch }})"
tag: "Mid-Simulator Electron Build (${{ github.sha }})"
commit: "main"
token: ${{ secrets.GITHUB_TOKEN }}