Skip to content

Commit

Permalink
Merge pull request #28 from robertjf/robertjf-patch-1
Browse files Browse the repository at this point in the history
fix deployment workflow
  • Loading branch information
skartknet authored Dec 6, 2022
2 parents 5a34d73 + 230e509 commit 60be6ae
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: Check Version v${{ steps.package_version.outputs.version }} Pre-Release state
id: check_prerelease
run: |
if ('${{ steps.package_version.outputs.version }}' -match '^[0-9]+\.[0-9]+\.[0-9]+-.+$') {
echo "Pre-Release detected"
echo "::set-output name=prerelease::true"
} else {
"echo Pre-Release NOT detected"
echo "::set-output name=prerelease::false"
}
if [[ ${{ steps.package_version.outputs.version }} =~ ^[0-9]+\.[0-9]+\.[0-9]+-.+$ ]]; then
echo Pre-Release detected
echo ::set-output name=prerelease::true
else
echo Pre-Release NOT detected
echo ::set-output name=prerelease::false
fi
- name: Setup .NET Core SDK 6.x
uses: actions/setup-dotnet@v3
Expand Down Expand Up @@ -70,5 +70,5 @@ jobs:
- name: Release information for v${{ steps.package_version.outputs.version }}
run: |
echo Release Id: ${{ steps.release.outputs.id }}
echo Upload URL: "${{ steps.release.outputs.upload_url }}"
echo Release URL: "${{ steps.release.outputs.html_url }}"
echo Upload URL: ${{ steps.release.outputs.upload_url }}
echo Release URL: ${{ steps.release.outputs.html_url }}

0 comments on commit 60be6ae

Please sign in to comment.