diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2aabc77..92c3b18 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,82 +13,82 @@ on: jobs: ########################### yak ############################ - build_yak: - runs-on: windows-latest + # build_yak: + # runs-on: windows-latest - steps: - - uses: actions/checkout@v2 + # steps: + # - uses: actions/checkout@v2 - - name: Python setup - uses: actions/setup-python@v2 - with: - python-version: '3.x' + # - name: Python setup + # uses: actions/setup-python@v2 + # with: + # python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install invoke + # - name: Install dependencies + # run: | + # python -m pip install --upgrade pip + # pip install invoke - # install dotnet for building the RhinoCs plugin - - name: Install .NET Framework 4.8 - uses: microsoft/setup-msbuild@v1.0.2 + # # install dotnet for building the RhinoCs plugin + # - name: Install .NET Framework 4.8 + # uses: microsoft/setup-msbuild@v1.0.2 - - name: Run Invoke Yakerizer task - run: invoke yakerize + # - name: Run Invoke Yakerizer task + # run: invoke yakerize - - name: Save artifact - uses: actions/upload-artifact@v2 - with: - name: scriptsync_yak_package - path: yaker\build\*.yak - - publish_yak: - needs: build_yak - runs-on: windows-latest - - steps: - - uses: actions/checkout@v2 - - - name: Download artifact - uses: actions/download-artifact@v2 - with: - name: scriptsync_yak_package - path: yaker\build + # - name: Save artifact + # uses: actions/upload-artifact@v2 + # with: + # name: scriptsync_yak_package + # path: yaker\build\*.yak + + # publish_yak: + # needs: build_yak + # runs-on: windows-latest + + # steps: + # - uses: actions/checkout@v2 + + # - name: Download artifact + # uses: actions/download-artifact@v2 + # with: + # name: scriptsync_yak_package + # path: yaker\build - # before run this get a token from your local machine with `yak.exe login --ci` - # # this is a dummy test - # - name: Publish to Yak test server - # run: | - # $YAK_FILE=$(ls *.yak) - # echo "Yak file: $YAK_FILE" - # ..\exec\Yak.exe push --source https://test.yak.rhino3d.com $YAK_FILE - # working-directory: yaker\build - # env: - # YAK_TOKEN: ${{ secrets.YAK_IBOIS_TOKEN }} - # continue-on-error: true - # # this is also a dummy test - # - name: Verify the Yak test package - # run: | - # ..\exec\Yak.exe search --source https://test.yak.rhino3d.com --all --prerelease script-sync - # working-directory: yaker\build - # env: - # YAK_TOKEN: ${{ secrets.YAK_IBOIS_TOKEN }} - # real release - - name: Publish to Yak test server - run: | - $YAK_FILE=$(ls *.yak) - echo "Yak file: $YAK_FILE" - ..\exec\Yak.exe push $YAK_FILE - working-directory: yaker\build - env: - YAK_TOKEN: ${{ secrets.YAK_IBOIS_TOKEN }} - # check the real release - - name: Verify the Yak test package - run: | - ..\exec\Yak.exe search --all --prerelease script-sync - working-directory: yaker\build - env: - YAK_TOKEN: ${{ secrets.YAK_IBOIS_TOKEN }} + # # before run this get a token from your local machine with `yak.exe login --ci` + # # # this is a dummy test + # # - name: Publish to Yak test server + # # run: | + # # $YAK_FILE=$(ls *.yak) + # # echo "Yak file: $YAK_FILE" + # # ..\exec\Yak.exe push --source https://test.yak.rhino3d.com $YAK_FILE + # # working-directory: yaker\build + # # env: + # # YAK_TOKEN: ${{ secrets.YAK_IBOIS_TOKEN }} + # # continue-on-error: true + # # # this is also a dummy test + # # - name: Verify the Yak test package + # # run: | + # # ..\exec\Yak.exe search --source https://test.yak.rhino3d.com --all --prerelease script-sync + # # working-directory: yaker\build + # # env: + # # YAK_TOKEN: ${{ secrets.YAK_IBOIS_TOKEN }} + # # real release + # - name: Publish to Yak test server + # run: | + # $YAK_FILE=$(ls *.yak) + # echo "Yak file: $YAK_FILE" + # ..\exec\Yak.exe push $YAK_FILE + # working-directory: yaker\build + # env: + # YAK_TOKEN: ${{ secrets.YAK_IBOIS_TOKEN }} + # # check the real release + # - name: Verify the Yak test package + # run: | + # ..\exec\Yak.exe search --all --prerelease script-sync + # working-directory: yaker\build + # env: + # YAK_TOKEN: ${{ secrets.YAK_IBOIS_TOKEN }} ########################### vsix ############################ build_vsix: @@ -133,7 +133,7 @@ jobs: publish_vsix: needs: build_vsix - runs-on: ubuntu-latest + runs-on: ubuntu-latest # windows-latest steps: - uses: actions/checkout@v2 @@ -164,7 +164,7 @@ jobs: - name: Publish to VSCode Marketplace run: | vsce publish -p ${{ secrets.AZURE_OP_TOKEN }} - working-directory: VSCode\scriptsync + # working-directory: VSCode\scriptsync - name: Verify the VSCode Marketplace package run: |