From 0a876e88da3b8d340c602ccecd63cfaab509b916 Mon Sep 17 00:00:00 2001 From: Laci Videmsky <1082793+videmsky@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:02:34 -0700 Subject: [PATCH] update: removing more dotnet --- .github/workflows/main.yml | 22 +++++++-------- .github/workflows/release.yml | 50 +++++++++++++++++------------------ 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7082555..0e44517 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,9 +12,9 @@ env: PYPI_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} PYPI_USERNAME: "__token__" TRAVIS_OS_NAME: linux - DOTNETVERSION: | - 6.0.x - 3.1.301 + # DOTNETVERSION: | + # 6.0.x + # 3.1.301 GOVERSION: 1.22.x GRADLEVERSION: "7.6" JAVAVERSION: "11" @@ -75,8 +75,8 @@ jobs: run: echo "${{ github.workspace }}/bin" >> $GITHUB_PATH - name: Build SDK run: make build_${{ matrix.language }} - - name: Check worktree clean - run: ./ci-scripts/ci/check-worktree-is-clean + # - name: Check worktree clean + # run: ./ci-scripts/ci/check-worktree-is-clean - name: Compress SDK folder run: tar -zcf sdk/${{ matrix.language }}.tar.gz -C sdk/${{ matrix.language }} . @@ -182,10 +182,10 @@ jobs: with: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - - name: Setup DotNet - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4 - with: - dotnet-version: ${{ env.DOTNETVERSION }} + # - name: Setup DotNet + # uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4 + # with: + # dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5 with: @@ -199,7 +199,7 @@ jobs: run: |- tar -zxf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace}}/bin find ${{ github.workspace }} -name "pulumi-*-${{ env.PROVIDER }}" -print -exec chmod +x {} \; - - run: dotnet nuget add source ${{ github.workspace }}/nuget + # - run: dotnet nuget add source ${{ github.workspace }}/nuget - name: Download SDK uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 with: @@ -224,7 +224,7 @@ jobs: language: - nodejs - python - - dotnet + # - dotnet - go permissions: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7cc5bd..5fd155d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,8 +12,8 @@ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }} - NUGET_FEED_URL: https://api.nuget.org/v3/index.json + # NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }} + # NUGET_FEED_URL: https://api.nuget.org/v3/index.json PROVIDER: redpanda PULUMI_GO_DEP_ROOT: ${{ github.workspace }}/.. PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget @@ -21,10 +21,10 @@ env: PYPI_USERNAME: "__token__" PUBLISH_PYPI: true PUBLISH_NPM: true - PUBLISH_NUGET: false - DOTNETVERSION: | - 6.0.x - 3.1.301 + # PUBLISH_NUGET: true + # DOTNETVERSION: | + # 6.0.x + # 3.1.301 GOVERSION: 1.22.x GRADLEVERSION: "7.6" JAVAVERSION: "11" @@ -94,25 +94,25 @@ jobs: with: node-version: ${{ env.NODEVERSION }} registry-url: ${{env.NPM_REGISTRY_URL}} - - name: Setup DotNet - uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1 - with: - dotnet-version: ${{ env.DOTNETVERSION }} + # - name: Setup DotNet + # uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1 + # with: + # dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1 with: python-version: ${{ env.PYTHONVERSION }} - name: Build SDK run: make build_${{ matrix.language }} - - name: Check worktree clean - run: | - git update-index -q --refresh - if ! git diff-files --quiet; then - >&2 echo "error: working tree is not clean, aborting!" - git status - git diff - exit 1 - fi + # - name: Check worktree clean + # run: | + # git update-index -q --refresh + # if ! git diff-files --quiet; then + # >&2 echo "error: working tree is not clean, aborting!" + # git status + # git diff + # exit 1 + # fi - if: ${{ matrix.language == 'python' && env.PUBLISH_PYPI == 'true' }} name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0 @@ -127,16 +127,16 @@ jobs: token: ${{ env.NPM_TOKEN }} package: ${{github.workspace}}/sdk/nodejs/bin/package.json provenance: true - - if: ${{ matrix.language == 'dotnet' && env.PUBLISH_NUGET == 'true' }} - name: publish nuget package - run: | - dotnet nuget push ${{github.workspace}}/sdk/dotnet/bin/Debug/*.nupkg -s ${{ env.NUGET_FEED_URL }} -k ${{ env.NUGET_PUBLISH_KEY }} - echo "done publishing packages" + # - if: ${{ matrix.language == 'dotnet' && env.PUBLISH_NUGET == 'true' }} + # name: publish nuget package + # run: | + # dotnet nuget push ${{github.workspace}}/sdk/dotnet/bin/Debug/*.nupkg -s ${{ env.NUGET_FEED_URL }} -k ${{ env.NUGET_PUBLISH_KEY }} + # echo "done publishing packages" strategy: fail-fast: true matrix: language: - nodejs - python - - dotnet + # - dotnet - go \ No newline at end of file