File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -254,17 +254,24 @@ jobs:
254
254
- name : Build Dynamic Link Libraries
255
255
run : cargo build --release --target ${{ matrix.target }}
256
256
- name : Create Release Archive
257
- id : create_release_archive
257
+ id : archive
258
258
uses : ksm2/archive-action@v1
259
259
with :
260
260
name : ' reactive-graph-std_${{steps.tag.outputs.tag}}_${{ matrix.target }}'
261
261
format : ${{ matrix.archive_format }}
262
262
root-directory : ' target/${{ matrix.target }}/release/'
263
263
include : ' ${{ matrix.prefix }}reactive_graph_std_*${{ matrix.extension }}'
264
- - name : Upload Release Archive to GitHub Releases
264
+ - name : Upload Regular Release Archive to GitHub Releases
265
265
uses : softprops/action-gh-release@v2
266
266
with :
267
- files : ${{ steps.create_release_archive.outputs.path }}
267
+ files : ${{ steps.archive.outputs.path }}
268
+ if : startsWith(github.event.ref, 'refs/tags/v')
269
+ - name : Upload Nightly Release Archive to GitHub Releases
270
+ uses : softprops/action-gh-release@v2
271
+ with :
272
+ files : ${{ steps.archive.outputs.path }}
273
+ tag_name : nightly
274
+ if : github.ref == 'refs/heads/main'
268
275
debian-package :
269
276
name : Debian package
270
277
needs : [ create-or-update-nightly-tag, create-release ]
You can’t perform that action at this time.
0 commit comments