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 }}