1 name: "Nightly Release"
10 TARGET_BRANCHES: 'master API8'
14 runs-on: ubuntu-latest
16 - uses: actions/checkout@v2
20 - name: Find Branches to Release
24 # find branches without the version tag
25 for x in $TARGET_BRANCHES; do
26 tags=$(git tag --contains origin/$x)
28 if [[ ! $t =~ v^[0-9]+\.[0-9]+\.[0-9]+ ]]; then
29 TARGETS="${TARGETS} $x"
33 # remove duplicated branch names
34 TARGETS=$(printf "%q\n" $TARGETS | sort -u)
35 echo "::set-output name=targets::${TARGETS}"
39 echo ${{ steps.find-targets.outputs.targets }}