Skip to content

Commit

Permalink
ci: retool actions a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrone-sudeium committed Nov 18, 2019
1 parent 49eb348 commit 5f379a3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ name: CI

on:
push:
tags: "v*"
branches:
- master
tags:
- "v*"
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 5f379a3

Please sign in to comment.