Skip to content

Commit

Permalink
Try to use GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Nares committed Apr 26, 2023
1 parent b11c946 commit 7a882b7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
run: |
echo "VERSION=`echo $TARGET_BRANCH | perl -pe 's|^.+/([^/]+?)(?:\.x)?$|\1|'`" >> $GITHUB_ENV;
- name: Ensure the version is coherent
run: |
VERSION_FORMAT='^([0-9]+\.)*[0-9]+$'
if [[ ! $VERSION =~ $VERSION_FORMAT ]]; then
echo "::error::Version '$VERSION' is not a valid version!"
exit 1
else
echo "Version: '$VERSION'"
fi
#- name: Ensure the version is coherent
# run: |
# VERSION_FORMAT='^([0-9]+\.)*[0-9]+$'
# if [[ ! $VERSION =~ $VERSION_FORMAT ]]; then
# echo "::error::Version '$VERSION' is not a valid version!"
# exit 1
# else
# echo "Version: '$VERSION'"
# fi

- name: Move content into the appropriate directory
run: |
Expand Down

0 comments on commit 7a882b7

Please sign in to comment.