Skip to content

Commit

Permalink
chore(release): revert always release (#304)
Browse files Browse the repository at this point in the history
Reverts #303. This does not trigger the
release.
  • Loading branch information
mbrobbel authored Feb 17, 2025
1 parent 9173c4e commit d2f0fcc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
48 changes: 25 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
environment:
name: crates-io
permissions:
contents: write
steps:
Expand All @@ -35,26 +37,26 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

# pr:
# name: PR
# runs-on: ubuntu-latest
# concurrency:
# group: release-${{ github.ref }}
# cancel-in-progress: false
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# submodules: recursive
# - uses: dtolnay/rust-toolchain@stable
# - uses: arduino/setup-protoc@v3
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - run: cargo build
# - uses: MarcoIeni/[email protected]
# with:
# command: release-pr
# env:
# RUST_LOG: debug
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
pr:
name: PR
runs-on: ubuntu-latest
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo build
- uses: MarcoIeni/[email protected]
with:
command: release-pr
env:
RUST_LOG: debug
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
2 changes: 1 addition & 1 deletion release-plz.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
release_always = true
release_always = false

[[package]]
name = "substrait"
Expand Down

0 comments on commit d2f0fcc

Please sign in to comment.