Update main.yml
This commit is contained in:
parent
1336d0c0bb
commit
19418a4f53
1 changed files with 8 additions and 3 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -18,13 +18,12 @@ jobs:
|
||||||
build:
|
build:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Create Release
|
|
||||||
uses: ncipollo/release-action@v1.10.0
|
|
||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
# Runs a set of commands using the runners shell
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
@ -35,3 +34,9 @@ jobs:
|
||||||
|
|
||||||
- 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: 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"
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue