Skip to content

Commit

Permalink
maint(build): github actions deploy (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
xensik authored Jun 14, 2023
1 parent 64c2f1e commit 3125c2e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- "**"
tags:
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches:
- "**"
Expand Down Expand Up @@ -62,7 +64,6 @@ jobs:
name: Windows ${{matrix.configuration}} ${{matrix.arch}} binaries
path: |
build/bin/${{matrix.arch}}/${{matrix.configuration}}/gsc-tool.exe
# build/bin/${{matrix.arch}}/${{matrix.configuration}}/gsc-tool.pdb
build-mac:
name: Build macOS
Expand Down Expand Up @@ -170,3 +171,26 @@ jobs:
name: Linux ${{matrix.configuration}} ${{matrix.arch}} binaries
path: |
build/bin/${{matrix.platform}}/${{matrix.configuration}}/gsc-tool
deploy:
name: Deploy Release
runs-on: ubuntu-latest
needs: [ build-win, build-mac, build-lin ]
if: startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/prod'
steps:
- name: Check out files
uses: actions/checkout@v3

- name: Download Binaries
uses: actions/download-artifact@v3
with:
name: Windows release x64 binaries

- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
draft: true
files: |
gsc-tool.exe
23 changes: 0 additions & 23 deletions appveyor.yml

This file was deleted.

0 comments on commit 3125c2e

Please sign in to comment.