about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-04-19 21:25:19 +0000
committerTrevor Gross <t.gross35@gmail.com>2025-04-19 17:31:43 -0400
commitca5c4ed8d7db731470395055d8f438f0abe7a18a (patch)
tree13779f9f07d80797a81387e524b01e1dd76e8f94
parent8b8bd8a0fd75e43a9b282284b849e651828ceec2 (diff)
downloadrust-ca5c4ed8d7db731470395055d8f438f0abe7a18a.tar.gz
rust-ca5c4ed8d7db731470395055d8f438f0abe7a18a.zip
Fix the release-plz job
-rw-r--r--library/compiler-builtins/.github/workflows/publish.yaml9
-rw-r--r--library/compiler-builtins/etc/libm/.github/workflows/publish.yaml27
2 files changed, 2 insertions, 34 deletions
diff --git a/library/compiler-builtins/.github/workflows/publish.yaml b/library/compiler-builtins/.github/workflows/publish.yaml
index 7d6a8df0305..85a33c039d2 100644
--- a/library/compiler-builtins/.github/workflows/publish.yaml
+++ b/library/compiler-builtins/.github/workflows/publish.yaml
@@ -5,24 +5,19 @@ permissions:
   contents: write
 
 on:
-  push:
-    branches:
-      - master
+  push: { branches: [master] }
 
 jobs:
   release-plz:
     name: Release-plz
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-24.04
     steps:
       - name: Checkout repository
         uses: actions/checkout@v4
         with:
           fetch-depth: 0
-          submodules: true
       - name: Install Rust (rustup)
         run: rustup update nightly --no-self-update && rustup default nightly
-      - name: Publish `libm` as part of builtins, rather than its own crate
-        run: rm compiler-builtins/libm/Cargo.toml
       - name: Run release-plz
         uses: MarcoIeni/release-plz-action@v0.5
         env:
diff --git a/library/compiler-builtins/etc/libm/.github/workflows/publish.yaml b/library/compiler-builtins/etc/libm/.github/workflows/publish.yaml
deleted file mode 100644
index 15904079d27..00000000000
--- a/library/compiler-builtins/etc/libm/.github/workflows/publish.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-name: Release-plz
-
-permissions:
-  pull-requests: write
-  contents: write
-
-on:
-  push:
-    branches:
-      - master
-
-jobs:
-  release-plz:
-    name: Release-plz
-    runs-on: ubuntu-24.04
-    steps:
-      - name: Checkout repository
-        uses: actions/checkout@v4
-        with:
-          fetch-depth: 0
-      - name: Install Rust (rustup)
-        run: rustup update nightly --no-self-update && rustup default nightly
-      - name: Run release-plz
-        uses: MarcoIeni/release-plz-action@v0.5
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}