-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,26 @@ jobs: | |
dotnet-version: | | ||
8.0.100 | ||
7.0.404 | ||
- name: Set outputs | ||
if: ${{ github.event.inputs.packages_to_release == 'DisCatSharp' }} | ||
id: vars | ||
run: | | ||
echo "version=10.6.0" >> $GITHUB_OUTPUT | ||
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT | ||
- name: "Create Sentry prod release" | ||
if: ${{ !inputs.release_as_prerelease && github.event.inputs.packages_to_release == 'DisCatSharp' }} | ||
uses: getsentry/[email protected] | ||
with: | ||
environment: prod | ||
ignore_missing: true | ||
version: DisCatSharp@${{ steps.vars.outputs.version }}+${{ steps.vars.outputs.sha }} | ||
- name: "Create Sentry dev release" | ||
if: ${{ inputs.release_as_prerelease && github.event.inputs.packages_to_release == 'DisCatSharp' }} | ||
uses: getsentry/[email protected] | ||
with: | ||
environment: dev | ||
ignore_missing: true | ||
version: DisCatSharp@${{ steps.vars.outputs.version }}-${{ github.event.inputs.version_suffix }}+${{ steps.vars.outputs.sha }} | ||
- name: Restore dependencies (DisCatSharp) | ||
if: ${{ github.event.inputs.packages_to_release == 'DisCatSharp' }} | ||
run: dotnet restore --no-cache -f -v minimal DisCatSharp.sln | ||
|
@@ -106,23 +126,3 @@ jobs: | |
shell: pwsh | ||
run: dotnet nuget push --source https://nuget.pkg.github.com/Aiko-IT-Systems/index.json -k ${{secrets.NYUW_TOKEN_GH}} * | ||
working-directory: ./dcs-artifacts | ||
- name: Set outputs | ||
if: ${{ github.event.inputs.packages_to_release == 'DisCatSharp' }} | ||
id: vars | ||
run: | | ||
echo "version=10.6.0" >> $GITHUB_OUTPUT | ||
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT | ||
- name: "Create Sentry prod release" | ||
if: ${{ !inputs.release_as_prerelease && github.event.inputs.packages_to_release == 'DisCatSharp' }} | ||
uses: getsentry/[email protected] | ||
with: | ||
environment: prod | ||
ignore_missing: true | ||
version: DisCatSharp@${{ steps.vars.outputs.version }}+${{ steps.vars.outputs.sha }} | ||
- name: "Create Sentry dev release" | ||
if: ${{ inputs.release_as_prerelease && github.event.inputs.packages_to_release == 'DisCatSharp' }} | ||
uses: getsentry/[email protected] | ||
with: | ||
environment: dev | ||
ignore_missing: true | ||
version: DisCatSharp@${{ steps.vars.outputs.version }}-${{ github.event.inputs.version_suffix }}+${{ steps.vars.outputs.sha }} |