Skip to content

Commit

Permalink
Github Actions are belong to us
Browse files Browse the repository at this point in the history
  • Loading branch information
Connicpu authored Nov 7, 2019
1 parent 7600dc3 commit ca3be57
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
push:
tags: "v*"

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@master

- name: Setup MSBuild.exe
uses: warrenbuckley/Setup-MSBuild@v1

- name: MSBuild
run: msbuild FFXIVLauncher.sln /p:Configuration=Release /p:Platform=x64

- name: Create Release
id: create_release
uses: actions/create-release@v1.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./x64/Release/FFXIVLauncher.exe
asset_name: FFXIVLauncher.exe
asset_content_type: application/vnd.microsoft.portable-executable

0 comments on commit ca3be57

Please sign in to comment.