diff --git a/.github/workflows/contract.yaml b/.github/workflows/contract.yaml index 0797896d9..c2d890f4b 100644 --- a/.github/workflows/contract.yaml +++ b/.github/workflows/contract.yaml @@ -48,6 +48,7 @@ jobs: sparse-checkout: bundles sparse-checkout-cone-mode: false token: ${{ secrets.CONNECT_PAT }} + - name: Install deps on ubuntu run: | sudo apt-get install libcurl4-openssl-dev libsodium-dev libfontconfig1-dev libfribidi-dev libfontconfig1-dev libpng-dev @@ -58,7 +59,8 @@ jobs: R.exe -e "install.packages('renv', repos='https://packagemanager.posit.co/cran/latest')" if: matrix.runs-on == 'windows-latest' - name: Install deps on macos - run: R -e "install.packages('renv', repos='https://packagemanager.posit.co/cran/latest')" + run: | + R -e "install.packages('renv', repos='https://packagemanager.posit.co/cran/latest')" if: matrix.runs-on == 'macos-latest' - run: chmod -R +x ./bin @@ -105,6 +107,11 @@ jobs: name: bin path: bin + - uses: actions/download-artifact@v4 + with: + name: dist + path: dist + - uses: actions/checkout@v4 with: repository: rstudio/connect-content @@ -113,11 +120,22 @@ jobs: sparse-checkout-cone-mode: false token: ${{ secrets.CONNECT_PAT }} + - name: Extract dist on ubuntu + run: | + unzip dist/*-linux-amd64.vsix -d dist/ext + if: matrix.runs-on == 'ubuntu-latest' + - name: Extract dist on windows + run: | + 7z x -y dist/*-windows-amd64.vsix -odist/ext + if: matrix.runs-on == 'windows-latest' + - name: Extract dist on macos + run: | + unzip dist/*-darwin-amd64.vsix -d dist/ext + if: matrix.runs-on == 'macos-latest' - run: chmod -R +x ./bin - run: echo "${FUZZBUCKET_SSH_KEY}" > test/fuzzbucket-ssh-key && chmod 600 test/fuzzbucket-ssh-key # vscode ui tests - - run: just package - run: just vscode configure - run: just vscode-ui install - run: python --version diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index acbb7a46b..d52c2210c 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -22,7 +22,10 @@ jobs: secrets: inherit uses: ./.github/workflows/contract-deps.yaml nightly: - needs: [build, contract-deps] + needs: + - build + - contract-deps + - package secrets: inherit uses: ./.github/workflows/contract.yaml with: