From 19418a4f539716748acbba496e8748395de21f4a Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange <58280776+MeowcaTheoRange@users.noreply.github.com> Date: Sun, 8 May 2022 08:07:09 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25337df..0bd3da5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,13 +18,12 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest - + permissions: + contents: write # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - name: Create Release - uses: ncipollo/release-action@v1.10.0 # Runs a set of commands using the runners shell - name: Install Dependencies @@ -35,3 +34,9 @@ jobs: - 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 + + - uses: ncipollo/release-action@v1 + with: + artifacts: "release.tar.gz,foo/*.txt" + bodyFile: "body.md" + token: ${{ secrets.GITHUB_TOKEN }}