Skip to content

Commit

Permalink
if else statement attempt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryccoatika committed Oct 31, 2023
1 parent 7fd9d41 commit 418e27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set variables for versions
run: |
VERSION_NAME=`cat gradle.properties | grep "VERSION_NAME" | cut -d'=' -f2`
IS_SNAPSHOT=$( [[ "$github.ref" == "refs/heads/snapshot" ]] ) && echo "1" || echo "0" )
IS_SNAPSHOT=$( [[ github.ref == "refs/heads/snapshot" ]] && echo "1" || echo "0" )
echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
echo "IS_SNAPSHOT=$IS_SNAPSHOT" >> $GITHUB_ENV
Expand Down

0 comments on commit 418e27a

Please sign in to comment.