Skip to content

Commit

Permalink
Temp update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
barjonp committed Jan 1, 2024
1 parent c658056 commit 5b9e34b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-opensilver-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
OpenSilver-Build:
#We should not run these steps on the forks by default.
if: github.repository_owner == 'OpenSilver'
if: github.repository_owner == 'barjonp'
runs-on: windows-latest
steps:
- uses: microsoft/setup-msbuild@v1.1
Expand All @@ -34,7 +34,7 @@ jobs:
run: echo "::set-output name=suffix::$(date +'%Y-%m-%d-%H%M%S')-${{ env.GITHUB_SHA_SHORT }}"
- name: Format Package Version
id: format-version
run: echo "::set-output name=version::${{ env.next-release-version }}-preview-${{ steps.format-suffix.outputs.suffix }}"
run: echo "::set-output name=version::${{ env.next-release-version }}-preview-test-${{ steps.format-suffix.outputs.suffix }}"
- name: Build Simulator
working-directory: build
run: msbuild slnf/OpenSilver.Simulator.slnf -p:Configuration=Release -clp:ErrorsOnly -restore
Expand All @@ -58,5 +58,5 @@ jobs:
dotnet nuget push "build\output\OpenSilver\OpenSilver.Simulator.${{ steps.format-version.outputs.version }}.nupkg" -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/${{ env.GITHUB_REPOSITORY_OWNER_PART }}/index.json
- name: Upload packages to MyGet
run: |
dotnet nuget push "build\output\OpenSilver\OpenSilver.${{ steps.format-version.outputs.version }}.nupkg" -k ${{ secrets.MYGET_TOKEN }} -s https://www.myget.org/F/opensilver/api/v2/package
dotnet nuget push "build\output\OpenSilver\OpenSilver.Simulator.${{ steps.format-version.outputs.version }}.nupkg" -k ${{ secrets.MYGET_TOKEN }} -s https://www.myget.org/F/opensilver/api/v2/package
dotnet nuget push "build\output\OpenSilver\OpenSilver.${{ steps.format-version.outputs.version }}.nupkg" -k ${{ secrets.MYGET_TEMP_TOKEN }} -s https://www.myget.org/F/opensilver-temp/api/v2/package
dotnet nuget push "build\output\OpenSilver\OpenSilver.Simulator.${{ steps.format-version.outputs.version }}.nupkg" -k ${{ secrets.MYGET_TEMP_TOKEN }} -s https://www.myget.org/F/opensilver-temp/api/v2/package
4 changes: 2 additions & 2 deletions .github/workflows/build-theme-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
OpenSilverThemesBuild:
#We should not run these steps on the forks by default.
if: github.repository_owner == 'OpenSilver'
if: github.repository_owner == 'barjonp'
runs-on: windows-latest
steps:
- uses: microsoft/setup-msbuild@v1.1
Expand All @@ -34,4 +34,4 @@ jobs:
run: ./build/Build_Themes.bat
- name: Upload packages to MyGet
run: |
dotnet nuget push "build\output\OpenSilver\OpenSilver.Theme.*.nupkg" -k ${{ secrets.MYGET_TOKEN }} -s https://www.myget.org/F/opensilver/api/v2/package
dotnet nuget push "build\output\OpenSilver\OpenSilver.Theme.*.nupkg" -k ${{ secrets.MYGET_TEMP_TOKEN }} -s https://www.myget.org/F/opensilver-temp/api/v2/package

0 comments on commit 5b9e34b

Please sign in to comment.