Skip to content

Commit

Permalink
Merge pull request #6 from DavidJGapCR/DavidJGapCR-patch-1
Browse files Browse the repository at this point in the history
Update create-pre-release.yml 1
  • Loading branch information
DavidJGapCR authored Feb 15, 2022
2 parents a069d0c + 996c178 commit c507200
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/create-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ jobs:
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Setup .NET 3.x
uses: actions/setup-dotnet@v1
with:
# Semantic version range syntax or exact version of a dotnet version
dotnet-version: '3.x'

- name: Publish self-contained deployment
run: |
.\build.ps1 publish -SelfContained ${{ env.CONFIGURATION }} -Version ${{ env.BUILD_VERSION }} -BuildCounter ${{ github.run_number }}
Expand Down Expand Up @@ -93,4 +99,4 @@ jobs:
upload_url: ${{ steps.create_pre_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ${{ env.PUBLISH_FOLDER }}${{ env.PUBLISH_SCD_ZIP }}
asset_name: ${{ env.PUBLISH_SCD_ZIP }}
asset_content_type: application/zip
asset_content_type: application/zip

0 comments on commit c507200

Please sign in to comment.