File tree Expand file tree Collapse file tree 4 files changed +53
-18
lines changed Expand file tree Collapse file tree 4 files changed +53
-18
lines changed Original file line number Diff line number Diff line change 5353 git remote set-url origin https://x-access-token:${{ secrets.DAPR_BOT_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
5454 # Copy first to allow automation to use the latest version and not the release branch's version.
5555 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- env :
71- GITHUB_TOKEN : ${{ secrets.DAPR_BOT_TOKEN }}
72- run : |
73- gh workflow run build.yml --repo ${GITHUB_REPOSITORY} --ref '${{ env.BUILD_GIT_REF }}'
56+ ${RUNNER_TEMP}/scripts/create-release.sh ${{ inputs.rel_version }}
Original file line number Diff line number Diff line change 9393 <groupId >org.springframework.boot</groupId >
9494 <artifactId >spring-boot-maven-plugin</artifactId >
9595 </plugin >
96+ <plugin >
97+ <groupId >org.apache.maven.plugins</groupId >
98+ <artifactId >maven-deploy-plugin</artifactId >
99+ <version >${maven-deploy-plugin.version} </version >
100+ <configuration >
101+ <skip >true</skip >
102+ </configuration >
103+ </plugin >
104+ <plugin >
105+ <groupId >org.apache.maven.plugins</groupId >
106+ <artifactId >maven-site-plugin</artifactId >
107+ <version >3.12.1</version >
108+ <configuration >
109+ <skip >true</skip >
110+ </configuration >
111+ </plugin >
96112 </plugins >
97113 </build >
98114
Original file line number Diff line number Diff line change 1818 <module >consumer-app</module >
1919 </modules >
2020
21+ <build >
22+ <plugins >
23+ <plugin >
24+ <groupId >org.apache.maven.plugins</groupId >
25+ <artifactId >maven-deploy-plugin</artifactId >
26+ <version >${maven-deploy-plugin.version} </version >
27+ <configuration >
28+ <skip >true</skip >
29+ </configuration >
30+ </plugin >
31+ <plugin >
32+ <groupId >org.apache.maven.plugins</groupId >
33+ <artifactId >maven-site-plugin</artifactId >
34+ <version >3.12.1</version >
35+ <configuration >
36+ <skip >true</skip >
37+ </configuration >
38+ </plugin >
39+ </plugins >
40+ </build >
2141</project >
Original file line number Diff line number Diff line change 8080 <groupId >org.springframework.boot</groupId >
8181 <artifactId >spring-boot-maven-plugin</artifactId >
8282 </plugin >
83+ <plugin >
84+ <groupId >org.apache.maven.plugins</groupId >
85+ <artifactId >maven-deploy-plugin</artifactId >
86+ <version >${maven-deploy-plugin.version} </version >
87+ <configuration >
88+ <skip >true</skip >
89+ </configuration >
90+ </plugin >
91+ <plugin >
92+ <groupId >org.apache.maven.plugins</groupId >
93+ <artifactId >maven-site-plugin</artifactId >
94+ <version >3.12.1</version >
95+ <configuration >
96+ <skip >true</skip >
97+ </configuration >
98+ </plugin >
8399 </plugins >
84100 </build >
85101</project >
You can’t perform that action at this time.
0 commit comments