mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Remove commit sha in filename
This commit is contained in:
parent
b1182d4f7b
commit
2d89a71203
1 changed files with 5 additions and 24 deletions
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
|
|
@ -97,42 +97,23 @@ jobs:
|
||||||
command: build
|
command: build
|
||||||
args: --release --all-features
|
args: --release --all-features
|
||||||
|
|
||||||
- name: Bundle manpages
|
|
||||||
uses: thedoctor0/zip-release@0.6.2
|
|
||||||
with:
|
|
||||||
type: zip
|
|
||||||
filename: manpages.zip
|
|
||||||
path: ./target/release/manpages
|
|
||||||
|
|
||||||
- name: Bundle completions
|
|
||||||
uses: thedoctor0/zip-release@0.6.2
|
|
||||||
with:
|
|
||||||
type: zip
|
|
||||||
filename: completions.zip
|
|
||||||
path: ./target/release/completions
|
|
||||||
|
|
||||||
- name: Get short commit SHA
|
|
||||||
id: short_commit_sha
|
|
||||||
shell: bash
|
|
||||||
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Upload binary artifact
|
- name: Upload binary artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: crunchy-${{ steps.short_commit_sha.outputs.sha_short }}_${{ matrix.platform }}${{ matrix.ext }}
|
name: crunchy-cli_${{ matrix.platform }}
|
||||||
path: ./target/release/crunchy-cli${{ matrix.ext }}
|
path: ./target/release/crunchy-cli${{ matrix.ext }}
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload manpages artifact
|
- name: Upload manpages artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: manpages-${{ steps.short_commit_sha.outputs.sha_short }}.zip
|
name: manpages
|
||||||
path: ./manpages.zip
|
path: ./target/release/manpages
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload completions artifact
|
- name: Upload completions artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: completions-${{ steps.short_commit_sha.outputs.sha_short }}.zip
|
name: completions
|
||||||
path: ./completions.zip
|
path: ./target/release/completions
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue