reference environment variable with actions syntax
This commit is contained in:
parent
cf94c7ef70
commit
0fc32ee3a3
1 changed files with 4 additions and 4 deletions
|
|
@ -25,8 +25,8 @@ jobs:
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: $BINARY_NAME
|
name: ${{ env.BINARY_NAME }}
|
||||||
path: zig-out/bin/$BINARY_NAME
|
path: zig-out/bin/${{ env.BINARY_NAME }}
|
||||||
- name: Notify
|
- name: Notify
|
||||||
uses: https://git.lerch.org/lobo/action-notify-ntfy@v2
|
uses: https://git.lerch.org/lobo/action-notify-ntfy@v2
|
||||||
if: always() && env.GITEA_ACTIONS == 'true'
|
if: always() && env.GITEA_ACTIONS == 'true'
|
||||||
|
|
@ -47,9 +47,9 @@ jobs:
|
||||||
- name: Download Artifact
|
- name: Download Artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: $BINARY_NAME
|
name: ${{ env.BINARY_NAME }}
|
||||||
- name: "Make executable actually executable"
|
- name: "Make executable actually executable"
|
||||||
run: chmod 755 $BINARY_NAME && mv $BINARY_NAME docker
|
run: chmod 755 ${{ env.BINARY_NAME }} && mv ${{ env.BINARY_NAME }} docker
|
||||||
- name: Get short ref
|
- name: Get short ref
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "shortsha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
run: echo "shortsha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue