diff options
author | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-16 13:12:50 +0300 |
---|---|---|
committer | HappyDOGE <28511119+HappyDOGE@users.noreply.github.com> | 2022-01-16 13:12:50 +0300 |
commit | 8e9338805062f53be1135d49b6021bd3ab8a220f (patch) | |
tree | 6c56076795299c601ed6afae5bac973b61585774 /.github | |
parent | 4f0e396e9774dad1eb03aa54f65c64da4b0e3a60 (diff) | |
parent | d4d4e489e4a1435e1df3cd1a1e3666e7ae713829 (diff) | |
download | NorthstarLauncher-8e9338805062f53be1135d49b6021bd3ab8a220f.tar.gz NorthstarLauncher-8e9338805062f53be1135d49b6021bd3ab8a220f.zip |
merge with upstream
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..c7a8d832 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: Build +on: + push: + branches: + - main + pull_request: + +env: + BUILD_PROFILE: Release + +jobs: + build: + runs-on: windows-2022 + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v1.1 + - name: Build + run: msbuild /p:Configuration=${{ env.BUILD_PROFILE }} + - name: Extract Short Commit Hash + id: extract + shell: bash + run: echo ::set-output name=commit::`git rev-parse --short HEAD` + - name: Upload Build Artifact + uses: actions/upload-artifact@v2 + with: + name: NorthstarLauncher-${{ steps.extract.outputs.commit }} + path: | + x64/${{ env.BUILD_PROFILE }}/*.dll + x64/${{ env.BUILD_PROFILE }}/*.exe + x64/${{ env.BUILD_PROFILE }}/*.pdb + x64/${{ env.BUILD_PROFILE }}/*.txt |