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 4c414c1 commit 2b067b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 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 @@ -57,4 +57,4 @@ jobs:
dotnet nuget push "build\output\OpenSilver\*.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\*.nupkg" -k ${{ secrets.MYGET_TOKEN }} -s https://www.myget.org/F/opensilver/api/v2/package
dotnet nuget push "build\output\OpenSilver\*.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 ${{ github.event.inputs.opensilver-version }} ${{ github.event.inputs.version }}
- name: Upload packages to MyGet
run: |
dotnet nuget push "build\output\OpenSilver\*.nupkg" -k ${{ secrets.MYGET_TOKEN }} -s https://www.myget.org/F/opensilver/api/v2/package
dotnet nuget push "build\output\OpenSilver\*.nupkg" -k ${{ secrets.MYGET_TEMP_TOKEN }} -s https://www.myget.org/F/opensilver-temp/api/v2/package

0 comments on commit 2b067b7

Please sign in to comment.