Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
telmomarques committed Apr 26, 2020
1 parent 3fc6fcc commit eb2d011
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: C/C++ CI
env:
isReleaseCandidate: ${{ contains(github.ref, '-rc') }}
isFinalRelease: ${{ !contains(github.ref, '-rc') }}

on:
push:
branches:
- '*'
tags:
- '*'
env:
isReleaseCandidate: ${{ contains(github.ref, 'tags') && contains(github.ref, '-rc') }}
isFinalRelease: ${{ contains(github.ref, 'tags') && !contains(github.ref, '-rc') }}

jobs:
build:
Expand All @@ -19,7 +19,7 @@ jobs:

- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_CONTEXT: ${{ toJson(env) }}
run: echo "$GITHUB_CONTEXT"

# - name: Checkout source code
Expand Down

0 comments on commit eb2d011

Please sign in to comment.