1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 07:46:28 +00:00

ci: Fix crates token scope

This commit is contained in:
Matan Kushner 2019-10-04 23:54:21 +09:00
parent 3ef9a953c1
commit 3e7b673e89
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -149,8 +149,8 @@ jobs:
override: true
- run: cargo login $CRATES_IO_TOKEN
- run: cargo publish
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
# Create a PR to bump the brew formula version
brew_bump_formula:
@ -225,12 +225,12 @@ jobs:
# Temporary fix for https://github.com/actions/setup-go/issues/14
export PATH=$PATH:$(go env GOPATH)/bin
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 }}
uses: softprops/action-gh-release@v1
with:
files: ${{ matrix.name }}
body_path: RELEASE.txt
body_path: RELEASE.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}