mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Use explicit write permissions (#1404)
* Use explicit write permissions
* Revert "release: cargo-binstall v1.4.1 (#1403)"
This reverts commit 00941d8b43
.
This commit is contained in:
parent
499e6b07fa
commit
216d548fd4
6 changed files with 13 additions and 3 deletions
4
.github/workflows/release-cli.yml
vendored
4
.github/workflows/release-cli.yml
vendored
|
@ -17,6 +17,8 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tag:
|
tag:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -66,6 +68,8 @@ jobs:
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: package
|
needs: package
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
4
.github/workflows/release-packages.yml
vendored
4
.github/workflows/release-packages.yml
vendored
|
@ -41,6 +41,8 @@ jobs:
|
||||||
|
|
||||||
name: ${{ matrix.t }}
|
name: ${{ matrix.t }}
|
||||||
runs-on: ${{ matrix.o }}
|
runs-on: ${{ matrix.o }}
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
env:
|
env:
|
||||||
CARGO_BUILD_TARGET: ${{ matrix.t }}
|
CARGO_BUILD_TARGET: ${{ matrix.t }}
|
||||||
GLIBC_VERSION: ${{ matrix.g }}
|
GLIBC_VERSION: ${{ matrix.g }}
|
||||||
|
@ -125,6 +127,8 @@ jobs:
|
||||||
lipo:
|
lipo:
|
||||||
needs: build
|
needs: build
|
||||||
name: universal-apple-darwin
|
name: universal-apple-darwin
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
env:
|
env:
|
||||||
JUST_FOR_RELEASE: true
|
JUST_FOR_RELEASE: true
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -25,6 +25,8 @@ jobs:
|
||||||
release-lib:
|
release-lib:
|
||||||
if: needs.info.outputs.is-release == 'true' && needs.info.outputs.crate != 'cargo-binstall'
|
if: needs.info.outputs.is-release == 'true' && needs.info.outputs.crate != 'cargo-binstall'
|
||||||
needs: info
|
needs: info
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -512,7 +512,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cargo-binstall"
|
name = "cargo-binstall"
|
||||||
version = "1.4.1"
|
version = "1.4.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"binstalk",
|
"binstalk",
|
||||||
"binstalk-manifests",
|
"binstalk-manifests",
|
||||||
|
|
|
@ -3,7 +3,7 @@ name = "cargo-binstall"
|
||||||
description = "Rust binary package installer for CI integration"
|
description = "Rust binary package installer for CI integration"
|
||||||
repository = "https://github.com/cargo-bins/cargo-binstall"
|
repository = "https://github.com/cargo-bins/cargo-binstall"
|
||||||
documentation = "https://docs.rs/cargo-binstall"
|
documentation = "https://docs.rs/cargo-binstall"
|
||||||
version = "1.4.1"
|
version = "1.4.0"
|
||||||
rust-version = "1.65.0"
|
rust-version = "1.65.0"
|
||||||
authors = ["ryan <ryan@kurte.nz>"]
|
authors = ["ryan <ryan@kurte.nz>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<assemblyIdentity
|
<assemblyIdentity
|
||||||
type="win32"
|
type="win32"
|
||||||
name="Binstall.Cli.binstall"
|
name="Binstall.Cli.binstall"
|
||||||
version="1.4.1.0"
|
version="1.4.0.0"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<trustInfo>
|
<trustInfo>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue