File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -143,13 +143,30 @@ jobs:
143
143
env :
144
144
CACHE_FROM : type=gha,scope=build
145
145
CACHE_TO : type=gha,scope=build,mode=max
146
+ -
147
+ name : List artifacts
148
+ run : |
149
+ tree -nh ${{ env.DESTDIR }}
150
+ -
151
+ name : Check artifacts
152
+ run : |
153
+ find ${{ env.DESTDIR }} -type f -exec file -e ascii -- {} +
146
154
-
147
155
name : Upload artifacts
148
156
uses : actions/upload-artifact@v3
149
157
with :
150
158
name : docker-credential-helpers
151
159
path : ${{ env.DESTDIR }}/*
152
160
if-no-files-found : error
161
+ -
162
+ name : GitHub Release
163
+ if : startsWith(github.ref, 'refs/tags/v')
164
+ uses : softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
165
+ env :
166
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
167
+ with :
168
+ draft : true
169
+ files : ${{ env.DESTDIR }}/*
153
170
154
171
build-deb :
155
172
runs-on : ubuntu-20.04
You can’t perform that action at this time.
0 commit comments