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