Update main.yml

This commit is contained in:
MeowcaTheoRange 2022-05-08 08:17:45 -05:00 committed by GitHub
parent 9236562c55
commit 74d1ffb2b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,16 +27,22 @@ jobs:
# Runs a set of commands using the runners shell # Runs a set of commands using the runners shell
- name: Install Dependencies - name: Install Dependencies
run: | run: sudo npm install -g nativefier
cd /
ls
sudo npm install -g nativefier
- name: Stage For Linux - name: Stage For Linux
run: nativefier https://meowcatheorange.github.io/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 run: |
cd ${GITHUB_WORKSPACE}
mkdir build
cd build
nativefier https://meowcatheorange.github.io/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
- uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1
with: with:
artifacts: "release.tar.gz,foo/*.txt" artifacts: "${GITHUB_WORKSPACE}/build/*"
bodyFile: "body.md" bodyFile: "README.md"
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- name: Cleanup
run: |
cd ..
rm -rf build