feat: workflow
This commit is contained in:
parent
7cd8220454
commit
f0af026f2b
1 changed files with 14 additions and 4 deletions
18
.github/workflows/rust.yml
vendored
18
.github/workflows/rust.yml
vendored
|
@ -78,8 +78,18 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: Downloads/
|
path: Downloads/
|
||||||
|
|
||||||
- name: Unzip
|
- name: Git Commit SHA
|
||||||
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
file -b *
|
calculatedSha=$(git rev-parse --short ${{ github.sha }})
|
||||||
ls -R
|
echo "::set-output name=short_sha::$calculatedSha"
|
||||||
working-directory: /home/runner/work/rust-tcp-file-transfer/rust-tcp-file-transfer/Downloads/
|
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v0.1.15
|
||||||
|
with:
|
||||||
|
tag_name: ${{ steps.vars.outputs.short_sha }}
|
||||||
|
generate_release_notes: true
|
||||||
|
files: |
|
||||||
|
Downloads/*linux*/*linux*
|
||||||
|
Downloads/*windows*/*windows*
|
||||||
|
Downloads/*macos*/*macos*
|
Loading…
Add table
Add a link
Reference in a new issue