From cbb0a0a074a54781bcccdb2d4cf4ba9e6397fe37 Mon Sep 17 00:00:00 2001 From: Juniper Tyree <50025784+juntyr@users.noreply.github.com> Date: Thu, 27 Jun 2024 07:16:37 +0000 Subject: [PATCH] Test release process --- .github/workflows/main.yml | 3 +-- .github/workflows/publish-artifacts.yml | 1 - .github/workflows/publish-to-cratesio.yml | 5 ++--- .github/workflows/release-process.yml | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5cc4de7108ef..4bf7f46188b7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -940,7 +940,7 @@ jobs: verify-publish: needs: determine - if: github.repository == 'bytecodealliance/wasmtime' && needs.determine.outputs.run-full + if: needs.determine.outputs.run-full runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -1143,7 +1143,6 @@ jobs: && needs.ci-status.result == 'success' && github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release-') - && github.repository == 'bytecodealliance/wasmtime' steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/publish-artifacts.yml b/.github/workflows/publish-artifacts.yml index dd7f1997ef5b..f3ac5bacf619 100644 --- a/.github/workflows/publish-artifacts.yml +++ b/.github/workflows/publish-artifacts.yml @@ -11,7 +11,6 @@ jobs: publish: name: Publish artifacts of build runs-on: ubuntu-latest - if: github.repository == 'bytecodealliance/wasmtime' steps: - uses: actions/checkout@v4 - run: | diff --git a/.github/workflows/publish-to-cratesio.yml b/.github/workflows/publish-to-cratesio.yml index 1f437867f5b3..00565954deb2 100644 --- a/.github/workflows/publish-to-cratesio.yml +++ b/.github/workflows/publish-to-cratesio.yml @@ -11,7 +11,6 @@ on: jobs: publish: - if: github.repository == 'bytecodealliance/wasmtime' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -29,7 +28,7 @@ jobs: - run: rustup update stable && rustup default stable - run: | rustc scripts/publish.rs - ./publish publish + # ./publish publish env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} @@ -41,6 +40,6 @@ jobs: github-token: ${{ github.token }} run-id: ${ARTIFACT_RUN_ID} - run: ./ci/build-wasi-preview1-component-adapter-provider.sh - - run: cargo publish -p wasi-preview1-component-adapter-provider --allow-dirty + - run: cargo publish -p wasi-preview1-component-adapter-provider --allow-dirty --dry-run env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/.github/workflows/release-process.yml b/.github/workflows/release-process.yml index 97f9417ab1fa..4e01b597c4bb 100644 --- a/.github/workflows/release-process.yml +++ b/.github/workflows/release-process.yml @@ -34,7 +34,7 @@ on: jobs: release_process: - if: "github.repository == 'bytecodealliance/wasmtime' || !github.event.schedule" + if: "!github.event.schedule" name: Run the release process runs-on: ubuntu-latest steps: