File tree Expand file tree Collapse file tree 1 file changed +6
-31
lines changed
Expand file tree Collapse file tree 1 file changed +6
-31
lines changed Original file line number Diff line number Diff line change 4545 target : ${{ matrix.target }}
4646
4747 - name : Install git-cliff
48- shell : bash
49- run : |
50- set -e
51- VERSION="0.24.2"
52-
53- case "${{ runner.os }}" in
54- "Linux")
55- URL="https://github.com/orhun/git-cliff/releases/download/v${VERSION}/git-cliff-${VERSION}-x86_64-unknown-linux-gnu.tar.gz"
56- curl -L $URL | tar -xz
57- sudo mv git-cliff-${VERSION}/git-cliff /usr/local/bin/
58- ;;
59- "macOS")
60- URL="https://github.com/orhun/git-cliff/releases/download/v${VERSION}/git-cliff-${VERSION}-x86_64-apple-darwin.tar.gz"
61- curl -L $URL | tar -xz
62- sudo mv git-cliff-${VERSION}/git-cliff /usr/local/bin/
63- ;;
64- "Windows")
65- URL="https://github.com/orhun/git-cliff/releases/download/v${VERSION}/git-cliff-${VERSION}-x86_64-pc-windows-msvc.zip"
66- curl -L $URL -o git-cliff.zip
67- unzip git-cliff.zip
68- mv git-cliff-${VERSION}/git-cliff.exe /c/Windows/System32/
69- ;;
70- esac
71-
72- git-cliff --version
48+ uses : taiki-e/install-action@v2
49+ with :
50+ tool : git-cliff@2.10.0
7351
7452 - name : Build release binary
7553 run : cargo build --release --target ${{ matrix.target }}
@@ -114,12 +92,9 @@ jobs:
11492 fetch-depth : 0
11593
11694 - name : Install git-cliff
117- run : |
118- VERSION="0.24.2"
119- URL="https://github.com/orhun/git-cliff/releases/download/v${VERSION}/git-cliff-${VERSION}-x86_64-unknown-linux-gnu.tar.gz"
120- curl -L $URL | tar -xz
121- sudo mv git-cliff-${VERSION}/git-cliff /usr/local/bin/
122- git-cliff --version
95+ uses : taiki-e/install-action@v2
96+ with :
97+ tool : git-cliff@2.10.0
12398
12499 - name : Generate changelog for this version
125100 run : |
You can’t perform that action at this time.
0 commit comments