Commit ad917d2 1 parent ed95fee commit ad917d2 Copy full SHA for ad917d2
File tree 1 file changed +1
-19
lines changed
1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 53
53
git remote set-url origin https://x-access-token:${{ secrets.DAPR_BOT_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
54
54
# Copy first to allow automation to use the latest version and not the release branch's version.
55
55
cp -R ./.github/scripts ${RUNNER_TEMP}/
56
- ${RUNNER_TEMP}/scripts/create-release.sh ${{ inputs.rel_version }}
57
- trigger :
58
- name : Triggers the Dapr SDK build
59
- runs-on : ubuntu-latest
60
- needs : create-release
61
- steps :
62
- - name : Identify build ref to trigger build and release.
63
- run : |
64
- if [[ "${{ inputs.rel_version }}" == *"SNAPSHOT"* ]]; then
65
- echo "BUILD_GIT_REF=master" >> $GITHUB_ENV
66
- else
67
- echo "BUILD_GIT_REF=v${{ inputs.rel_version }}" >> $GITHUB_ENV
68
- fi
69
- - name : Triggers the build and release.
70
- if : env.BUILD_GIT_REF != 'master'
71
- env :
72
- GITHUB_TOKEN : ${{ secrets.DAPR_BOT_TOKEN }}
73
- run : |
74
- gh workflow run build.yml --repo ${GITHUB_REPOSITORY} --ref '${{ env.BUILD_GIT_REF }}'
56
+ ${RUNNER_TEMP}/scripts/create-release.sh ${{ inputs.rel_version }}
You can’t perform that action at this time.
0 commit comments