File tree Expand file tree Collapse file tree 1 file changed +0
-45
lines changed
Expand file tree Collapse file tree 1 file changed +0
-45
lines changed Original file line number Diff line number Diff line change 8787 else
8888 exit 1
8989 fi
90-
91- compare-packages :
92- needs : [build-latest-java, build-java-8]
93- runs-on : ubuntu-latest
94- env :
95- CURRENT_PKG_DIFF : ./artifacts/current/build/libs/msgraph-beta-sdk-java.jar
96- PRIOR_PKG_DIFF : ./artifacts/previous/build/libs/msgraph-beta-sdk-java.jar
97- steps :
98- - uses : actions/checkout@v4
99- - name : Set up JDK
100- uses : actions/setup-java@v4
101- with :
102- java-version : 21
103- distribution : ' temurin'
104- cache : gradle
105- - name : Download Current Build
106- uses : actions/download-artifact@v4
107- with :
108- name : drop
109- path : artifacts/current/
110- - name : Get latest release tag
111- env :
112- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
113- run : echo "BRANCH=$(gh release list -L 1 --json tagName --jq '.[0] | .tagName')" >> $GITHUB_ENV
114- - name : Download Last Successful Build
115- uses : dawidd6/action-download-artifact@v11
116- with :
117- workflow : preview-and-release.yml
118- workflow_conclusion : success
119- branch : ${{ env.BRANCH }}
120- event : push
121- name : drop
122- path : artifacts/previous/
123- - name : Run PKG Diff
124- continue-on-error : true
125- run : |
126- sudo apt install pkgdiff
127- pkgdiff -hide-unchanged ${{ env.PRIOR_PKG_DIFF }} ${{ env.CURRENT_PKG_DIFF }}
128- - name : Upload Diff Artifact
129- if : ${{ always() }}
130- uses : actions/upload-artifact@v4
131- with :
132- name : diff
133- path : |
134- ./pkgdiff_reports/**
You can’t perform that action at this time.
0 commit comments