From 5f379a3cb358e4b465ac94cb394f20b24edea641 Mon Sep 17 00:00:00 2001 From: Tyrone Trevorrow Date: Tue, 19 Nov 2019 00:20:39 +1100 Subject: [PATCH] ci: retool actions a bit --- .github/workflows/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a3fea7..af114db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,12 @@ name: CI on: push: - tags: "v*" + branches: + - master + tags: + - "v*" + pull_request: + types: [opened, synchronize, reopened] jobs: build: @@ -18,6 +23,7 @@ jobs: run: msbuild FFXIVLauncher.sln /p:Configuration=Release /p:Platform=x64 - name: Create Release + if: startsWith(github.ref, 'refs/tags/v') id: create_release uses: actions/create-release@v1.0.0 env: @@ -27,7 +33,9 @@ jobs: release_name: ${{ github.ref }} draft: false prerelease: false + - name: Upload Release Asset + if: startsWith(github.ref, 'refs/tags/v') id: upload-release-asset uses: actions/upload-release-asset@v1.0.1 env: