Skip to content

Commit

Permalink
set env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
stylesuxx committed May 1, 2022
1 parent 0071144 commit 1b844d8
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ jobs:
echo ::set-output name=IS_TAG::${{ startsWith(github.ref, 'refs/tags/') }}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
- name: Display branch names
env:
IS_TAG: ${{ steps.branch_name.outputs.IS_TAG }}
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
run: |
echo GITHUB_REF: $GITHUB_REF
echo IS_TAG: $IS_TAG
echo SOURCE_TAG: $SOURCE_TAG
- name: Download artifact
uses: actions/download-artifact@v2
with:
Expand All @@ -45,7 +36,7 @@ jobs:
- name: Create master push pre-release
env:
IS_TAG: ${{ steps.branch_name.outputs.IS_TAG }}
if: "${{ env.IS_TAG != true }}"
if: "${{ env.IS_TAG == 'false' }}"
id: create_pre_release
uses: ncipollo/release-action@v1
with:
Expand All @@ -59,7 +50,7 @@ jobs:
env:
IS_TAG: ${{ steps.branch_name.outputs.IS_TAG }}
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
if: "${{ env.IS_TAG == true }}"
if: "${{ env.IS_TAG == 'true' }}"
id: create_release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 1b844d8

Please sign in to comment.