From 75bb99418dd6c04ba79abc8b0ca334ce7ad74433 Mon Sep 17 00:00:00 2001 From: Weilu Jia Date: Tue, 27 Jul 2021 22:36:32 -0700 Subject: [PATCH] Fix issues in GH Actions --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e13d0b2..fbde93f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,8 @@ name: Builds on: push: pull_request: - branches: [master] release: - types: [created,published] + types: [created] jobs: build: runs-on: windows-latest @@ -36,15 +35,14 @@ jobs: retention-days: 1 release: needs: build - runs-on: linux-latest + runs-on: ubuntu-latest if: ${{ github.event_name == 'release'}} + permissions: + contents: write steps: - - uses: heinrichreimer/github-changelog-generator-action@v2 - id: changelog - uses: actions/download-artifact@v2 with: name: totsugeki - uses: softprops/action-gh-release@v1 with: - body: ${{ steps.changelog.outputs.changelog }} files: totsugeki.exe