Skip to content

Commit

Permalink
fix: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kitplummer committed Apr 14, 2024
1 parent 10cccbd commit 8b8db60
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,21 @@ jobs:
( startsWith( github.ref, 'refs/tags/v' ) ||
github.ref == 'refs/tags/test-release' )
- name: Publish release artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dto-${{ matrix.platform.os_name }}
path: "dto-*"
if: matrix.toolchain == 'stable' && github.ref == 'refs/tags/test-release'
name: cot_sender-${{ matrix.platform.os_name }}
path: "cot_sender-*"
if: |
matrix.toolchain == 'stable' &&
( startsWith( github.ref, 'refs/tags/v' ) ||
github.ref == 'refs/tags/test-release' )
- name: Publish GitHub release
uses: softprops/action-gh-release@v1
with:
draft: true
files: "cot_sender*"
body_path: Changes.md
if: matrix.toolchain == 'stable' && startsWith( github.ref, 'refs/tags/v' )
if: |
matrix.toolchain == 'stable' &&
( startsWith( github.ref, 'refs/tags/v' ) ||
github.ref == 'refs/tags/test-release' )

0 comments on commit 8b8db60

Please sign in to comment.