Skip to content

Commit

Permalink
target release files programatically
Browse files Browse the repository at this point in the history
  • Loading branch information
doebrowsk authored Oct 23, 2024
1 parent 878c06e commit c186db0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dotnet-build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ jobs:
Compress-Archive -Path $sourcePath -DestinationPath $zipPath -Force -Verbose
}
Get-ChildItem -File -Path $outputDir
$releaseArtifacts = (Get-ChildItem -File -Path $outputDir).fullname
echo "release_artifacts=$releaseArtifacts" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append
- name: Check for manifest
if: success() && env.CREATE_RELEASE == 'True' && inputs.integration_type == 'orchestrator'
Expand All @@ -141,8 +143,7 @@ jobs:
with:
repository: ${{ github.repository }}
files: |
${{ env.outputDir }}\\test-orch-mh_net6.0.zip
${{ env.outputDir }}\\test-orch-mh_net8.0.zip
${{ env.release_artifacts }}
append_body: true
tag_name: ${{ inputs.release_version }}
token: ${{ secrets.token }}
Expand Down

0 comments on commit c186db0

Please sign in to comment.