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