Template
ci: Added gh tool install.
This commit is contained in:
@@ -29,6 +29,12 @@ jobs:
|
|||||||
name: Install Rust toolchain
|
name: Install Rust toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
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
|
- name: Run release-plz
|
||||||
uses: release-plz/action@v0.5
|
uses: release-plz/action@v0.5
|
||||||
with:
|
with:
|
||||||
@@ -36,6 +42,7 @@ jobs:
|
|||||||
forge: gitea
|
forge: gitea
|
||||||
regsitry: gitea
|
regsitry: gitea
|
||||||
env:
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}
|
CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}
|
||||||
|
|
||||||
# Create a PR with the new versions and changelog, preparing the next release.
|
# Create a PR with the new versions and changelog, preparing the next release.
|
||||||
@@ -55,6 +62,7 @@ jobs:
|
|||||||
|
|
||||||
- *checkout
|
- *checkout
|
||||||
- *install-rust
|
- *install-rust
|
||||||
|
- *install-gh
|
||||||
|
|
||||||
- name: Run release-plz
|
- name: Run release-plz
|
||||||
uses: release-plz/action@v0.5
|
uses: release-plz/action@v0.5
|
||||||
@@ -63,4 +71,5 @@ jobs:
|
|||||||
forge: gitea
|
forge: gitea
|
||||||
regsitry: gitea
|
regsitry: gitea
|
||||||
env:
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}
|
CARGO_REGISTRIES_GITEA_TOKEN: ${{ secrets.CARGO_REGISTRIES_GITEA_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user