Skip to content

Commit

Permalink
Test release process
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Jun 27, 2024
1 parent fa0ad8f commit cbb0a0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish-to-cratesio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:

jobs:
publish:
if: github.repository == 'bytecodealliance/wasmtime'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -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 }}
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cbb0a0a

Please sign in to comment.