Skip to content

Commit ae906fd

Browse files
committed
chore(release-please): remove publishing in ci, combine pull requests
1 parent b7812d4 commit ae906fd

File tree

2 files changed

+1
-45
lines changed

2 files changed

+1
-45
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -13,50 +13,6 @@ permissions:
1313
jobs:
1414
release-please:
1515
runs-on: ubuntu-latest
16-
outputs:
17-
binary_release_created: ${{ steps.release.outputs['crates/nixpkgs-track--release_created'] }}
18-
library_release_created: ${{ steps.release.outputs['crates/nixpkgs-track_lib--release_created'] }}
1916
steps:
2017
- uses: googleapis/release-please-action@v4
2118
id: release
22-
log:
23-
runs-on: ubuntu-latest
24-
needs: release-please
25-
steps:
26-
- run: echo "${{ toJSON(needs['release-please'].outputs) }}"
27-
28-
release-binary:
29-
runs-on: ubuntu-latest
30-
needs: release-please
31-
if: ${{ needs.release-please.outputs.binary_release_created }}
32-
steps:
33-
- name: Checkout
34-
uses: actions/checkout@v4
35-
36-
- uses: dtolnay/rust-toolchain@stable
37-
with:
38-
toolchain: stable
39-
- uses: Swatinem/rust-cache@v2
40-
41-
- name: Publish
42-
run: cargo publish --verbose --locked --no-verify --package nixpkgs-track
43-
env:
44-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
45-
46-
release-library:
47-
runs-on: ubuntu-latest
48-
needs: release-please
49-
if: ${{ needs.release-please.outputs.library_release_created }}
50-
steps:
51-
- name: Checkout
52-
uses: actions/checkout@v4
53-
54-
- uses: dtolnay/rust-toolchain@stable
55-
with:
56-
toolchain: stable
57-
- uses: Swatinem/rust-cache@v2
58-
59-
- name: Publish
60-
run: cargo publish --verbose --locked --no-verify --package nixpkgs-track_lib
61-
env:
62-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}

release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"last-release-sha": "f260933c97d5be275d78f98c4d50c4e605905669",
44
"plugins": ["cargo-workspace"],
55
"release-type": "rust",
6-
"separate-pull-requests": true,
6+
"separate-pull-requests": false,
77
"packages": {
88
"crates/nixpkgs-track": {
99
"include-component-in-tag": false

0 commit comments

Comments
 (0)