Skip to content

Commit

Permalink
Test conditional release draft in packaging
Browse files Browse the repository at this point in the history
Signed-off-by: coleramos425 <colramos@amd.com>
  • Loading branch information
coleramos425 committed Aug 20, 2024
1 parent 8395f67 commit 56cf357
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,16 @@ jobs:
with:
name: omniperf-${{github.ref_name}}.tar.gz
path: build/omniperf-${{github.ref_name}}.tar.gz
- name: Set version
run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
- name: Set ROCm release name
run: echo "RELASE_NAME=Omniperf ${{ env.VERSION }} for ${{github.ref_name}} " > $GITHUB_ENV
- name: Upload tarball Release Asset
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'ROCm/omniperf'
with:
fail_on_unmatched: True
draft: True
name: ${{ if: startsWith(github.ref_name, 'rocm-') }}'Test A'${{ else }}'Test B'${{ endif }}
files: |
omniperf-*.tar.gz

0 comments on commit 56cf357

Please sign in to comment.