Skip to content

Commit

Permalink
Simple expression
Browse files Browse the repository at this point in the history
  • Loading branch information
csjones committed Sep 4, 2023
1 parent 6bce9e2 commit d538735
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/check-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ jobs:
run: |
echo "TEMPLATE_RELEASE=$(gh release list -R gigabitcoin/template-plugin -L 1)" >> $GITHUB_ENV
echo "BINARY_RELEASE=$(gh release list -R evilmartians/lefthook -L 1)" >> $GITHUB_ENV
if [[ "$TEMPLATE_RELEASE" == "$BINARY_RELEASE" ]]
then
echo "RUN_PUBLISH=false" >> $GITHUB_ENV
else
echo "RUN_PUBLISH=false" >> $GITHUB_ENV
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Print Variables
Expand All @@ -32,4 +26,4 @@ jobs:
run: |
echo $TEMPLATE_RELEASE
echo $BINARY_RELEASE
if: ${{ env.RUN_PUBLISH }}
if: ${{ env.TEMPLATE_RELEASE == env.BINARY_RELEASE }}

0 comments on commit d538735

Please sign in to comment.