Skip to content

Commit

Permalink
Fix for Issue #264
Browse files Browse the repository at this point in the history
fix: updating `set-output` commands in `Get R/Bioc versions` action
  • Loading branch information
Max-Bladen committed Nov 14, 2022
1 parent 17c6472 commit 3301f08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ jobs:
bioc="devel"
r="$r_devel"
fi
echo ::set-output name=r::$r
echo ::set-output name=bioc::$bioc
echo "r=$r" >> $GITHUB_OUTPUT
echo "bioc=$bioc" >> $GITHUB_OUTPUT
## Docker
# Only Dockerise for 'master' or 'RELEASE_*' branches
dockerise='false'
[[ github.event_name != 'schedule' && ($BRANCH_NAME == "master" || $BRANCH_NAME =~ "release_") ]] && dockerise='true'
echo ::set-output name=dockerise::$dockerise
echo "dockerise=$dockerise" >> $GITHUB_OUTPUT
# Docker tag is 'github' for master and the branch name for release branches
docker_tag="github"
[[ $BRANCH_NAME =~ "release_" ]] && docker_tag=$BRANCH_NAME
echo ::set-output name=docker_tag::$docker_tag
echo "docker_tag=$docker_tag" >> $GITHUB_OUTPUT
R-CMD-check:
needs: [gatekeeper, versions]
Expand Down

0 comments on commit 3301f08

Please sign in to comment.