summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.me>2019-10-04 23:54:21 +0900
committerMatan Kushner <hello@matchai.me>2019-10-04 23:54:21 +0900
commit3e7b673e8982b82537c83b4fcdfeda696b990dd1 (patch)
treed6f138614383807c99ba887aa9a7e8dfb86ed88b
parent3ef9a953c11b0042f2b7e59dc1610685f9c84c74 (diff)
ci: Fix crates token scope
-rw-r--r--.github/workflows/workflow.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml
index e70e48e73..04b729d85 100644
--- a/.github/workflows/workflow.yml
+++ b/.github/workflows/workflow.yml
@@ -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 }}