From 6e62a94d60ec6551960b8ee322122d387e52f41a Mon Sep 17 00:00:00 2001 From: Pierre Barjon Date: Thu, 22 Jun 2023 23:57:52 +0200 Subject: [PATCH] setup ci --- .github/workflows/github-actions.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index ed8e90a04d..5d9159e82e 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -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 @@ -53,7 +53,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-cl-${{ steps.format-suffix.outputs.suffix }}" - name: Build Simulator working-directory: build run: msbuild slnf/OpenSilver.Simulator.slnf -p:Configuration=SL -clp:ErrorsOnly -restore @@ -71,9 +71,6 @@ jobs: with: name: OpenSilver path: "build/output/OpenSilver" - - name: Upload packages - run: | - 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