We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6572d74 commit 3e291ffCopy full SHA for 3e291ff
.github/workflows/deploy.yml
@@ -4,6 +4,8 @@ jobs:
4
build_linux:
5
name: Build Linux x86_64
6
runs-on: ubuntu-latest
7
+ outputs:
8
+ sha7: ${{ steps.sha7.sha7 }}
9
steps:
10
- name: Checkout
11
uses: actions/checkout@v2
@@ -24,6 +26,10 @@ jobs:
24
26
with:
25
27
name: linux64.bin
28
path: target/release/rust-deploy-test
29
+ - name: Export SHA7
30
+ id: sha7
31
+ run: |
32
+ echo ::set-output name=sha7::$(git rev-parse --short HEAD)
33
build_mac:
34
name: Build macOS x86_64
35
runs-on: macos-latest
@@ -97,7 +103,7 @@ jobs:
97
103
uses: softprops/action-gh-release@v1
98
104
if: ${{ github.ref == 'refs/heads/main' }}
99
105
100
- name: Latest commit
106
+ name: Latest commit (${{needs.build_linux.outputs.sha7}})
101
107
tag_name: latest
102
108
prerelease: true
109
files: |
0 commit comments