Update main.yml
This commit is contained in:
parent
9236562c55
commit
74d1ffb2b2
1 changed files with 13 additions and 7 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
@ -27,16 +27,22 @@ jobs:
|
|||
|
||||
# Runs a set of commands using the runners shell
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
cd /
|
||||
ls
|
||||
sudo npm install -g nativefier
|
||||
run: sudo npm install -g nativefier
|
||||
|
||||
- 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
|
||||
with:
|
||||
artifacts: "release.tar.gz,foo/*.txt"
|
||||
bodyFile: "body.md"
|
||||
artifacts: "${GITHUB_WORKSPACE}/build/*"
|
||||
bodyFile: "README.md"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Cleanup
|
||||
run: |
|
||||
cd ..
|
||||
rm -rf build
|
||||
|
|
Loading…
Reference in a new issue