mirror of
https://github.com/starship/starship.git
synced 2025-02-23 05:41:44 +01:00
ci: Fix crates token scope
This commit is contained in:
parent
3ef9a953c1
commit
3e7b673e89
8
.github/workflows/workflow.yml
vendored
8
.github/workflows/workflow.yml
vendored
@ -149,8 +149,8 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
- run: cargo login $CRATES_IO_TOKEN
|
- run: cargo login $CRATES_IO_TOKEN
|
||||||
- run: cargo publish
|
- run: cargo publish
|
||||||
env:
|
env:
|
||||||
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
||||||
|
|
||||||
# Create a PR to bump the brew formula version
|
# Create a PR to bump the brew formula version
|
||||||
brew_bump_formula:
|
brew_bump_formula:
|
||||||
@ -225,12 +225,12 @@ jobs:
|
|||||||
# Temporary fix for https://github.com/actions/setup-go/issues/14
|
# Temporary fix for https://github.com/actions/setup-go/issues/14
|
||||||
export PATH=$PATH:$(go env GOPATH)/bin
|
export PATH=$PATH:$(go env GOPATH)/bin
|
||||||
go get -u github.com/git-chglog/git-chglog/cmd/git-chglog
|
go get -u github.com/git-chglog/git-chglog/cmd/git-chglog
|
||||||
git-chglog -c .github/chglog/release.yml $(git describe --tags) > RELEASE.txt
|
git-chglog -c .github/chglog/release.yml $(git describe --tags) > RELEASE.md
|
||||||
|
|
||||||
- name: Create GitHub release ${{ matrix.target }}
|
- name: Create GitHub release ${{ matrix.target }}
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: ${{ matrix.name }}
|
files: ${{ matrix.name }}
|
||||||
body_path: RELEASE.txt
|
body_path: RELEASE.md
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user