Skip to content

Commit

Permalink
Fix issues in GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
optix2000 committed Jul 28, 2021
1 parent e93f15d commit 75bb994
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Builds
on:
push:
pull_request:
branches: [master]
release:
types: [created,published]
types: [created]
jobs:
build:
runs-on: windows-latest
Expand Down Expand Up @@ -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

0 comments on commit 75bb994

Please sign in to comment.