Skip to content

Commit

Permalink
Fixed if
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanklug authored Feb 4, 2021
1 parent 4a59c5c commit cb4b406
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ jobs:
run: |
echo "Build release for $GITHUB_REF"
echo "RELEASE_BUILD=1" >> $GITHUB_ENV
- name: Debug 1
run: |
echo "RELEASE_BUILD: $RELEASE_BUILD"
build-linux:
Expand All @@ -77,19 +73,6 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Debug 2
env:
OUTP: ${{ toJSON(needs.prepare.outputs) }}
run: |
echo "OUTP: $OUTP"
- name: Debug 3
if: needs.prepare.outputs.is_release_build == true
env:
OUTP: ${{ toJSON(needs.prepare.outputs) }}
run: |
echo "OUTP: $OUTP"
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

Expand All @@ -112,8 +95,8 @@ jobs:
path: dist/*

- name: Upload Release Asset
if: needs.prepare.outputs.is_release_build == 'true'
uses: softprops/action-gh-release@v1
if: needs.prepare.outputs.is_release_build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -186,8 +169,8 @@ jobs:
path: dist/*

- name: Upload Release Asset
if: needs.prepare.outputs.is_release_build == 'true'
uses: softprops/action-gh-release@v1
if: needs.prepare.outputs.is_release_build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit cb4b406

Please # to comment.