Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3796600

Browse files
committed
Fix tag name
1 parent df078db commit 3796600

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,17 +254,24 @@ jobs:
254254
- name: Build Dynamic Link Libraries
255255
run: cargo build --release --target ${{ matrix.target }}
256256
- name: Create Release Archive
257-
id: create_release_archive
257+
id: archive
258258
uses: ksm2/archive-action@v1
259259
with:
260260
name: 'reactive-graph-std_${{steps.tag.outputs.tag}}_${{ matrix.target }}'
261261
format: ${{ matrix.archive_format }}
262262
root-directory: 'target/${{ matrix.target }}/release/'
263263
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
265265
uses: softprops/action-gh-release@v2
266266
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'
268275
debian-package:
269276
name: Debian package
270277
needs: [ create-or-update-nightly-tag, create-release ]

0 commit comments

Comments
 (0)