Template
Merge in the Release-Plz Setup #6
@@ -29,6 +29,12 @@ jobs:
|
||||
name: Install Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- &install-gh
|
||||
name: Install gh cli tool
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install gh -y
|
||||
|
||||
- name: Run release-plz
|
||||
uses: release-plz/action@v0.5
|
||||
with:
|
||||
@@ -36,6 +42,7 @@ jobs:
|
||||
forge: gitea
|
||||
regsitry: gitea
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}
|
||||
|
||||
# Create a PR with the new versions and changelog, preparing the next release.
|
||||
@@ -55,6 +62,7 @@ jobs:
|
||||
|
||||
- *checkout
|
||||
- *install-rust
|
||||
- *install-gh
|
||||
|
||||
- name: Run release-plz
|
||||
uses: release-plz/action@v0.5
|
||||
@@ -63,4 +71,5 @@ jobs:
|
||||
forge: gitea
|
||||
regsitry: gitea
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user