github actions: append git commit hash to artifacts archive name

This commit is contained in:
Leonid Pliushch 2021-02-24 23:51:22 +02:00
parent b22a027709
commit 47a95b59f6
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -100,7 +100,7 @@ jobs:
- name: Store *.deb files
uses: actions/upload-artifact@v2
with:
name: termux-packages
name: termux-packages-${{ github.sha }}
path: ./artifacts
upload:
if: github.event_name != 'pull_request'
@ -112,7 +112,7 @@ jobs:
- name: Get *.deb files
uses: actions/download-artifact@v2
with:
name: termux-packages
name: termux-packages-${{ github.sha }}
path: ./
- name: Upload to bintray.com
env:
@ -145,7 +145,7 @@ jobs:
- name: Get *.deb files
uses: actions/download-artifact@v2
with:
name: termux-packages
name: termux-packages-${{ github.sha }}
- name: Upload to grimler.se
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock