Skip to content

Commit

Permalink
Update ccpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Deamon87 authored Dec 17, 2019
1 parent 30e9757 commit cfa67b6
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: C/C++ CI

on:
push:
tags:
- 'v*.*.*'
branches:
- master
- master

jobs:
build:

build-ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Checkout submodules
Expand All @@ -18,9 +18,30 @@ jobs:
uses: lpenz/[email protected]
- name: GH Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
name: ${{github.sha}}
files: |
DBImporter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-windows:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, windows-2016]

steps:
- uses: actions/checkout@v1
- name: Checkout submodules
uses: textbook/[email protected]
- name: Build project with CMAKE
uses: lpenz/[email protected]
- name: GH Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
DBImporter.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cfa67b6

Please sign in to comment.