GitHub Actions: add apt-get update before installing curl

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-25 21:49:15 -04:00
parent de1e439110
commit 2aac551089
3 changed files with 3 additions and 0 deletions

View file

@ -42,6 +42,7 @@ jobs:
- name: copy to transfer.sh - name: copy to transfer.sh
if: github.event_name == 'push' if: github.event_name == 'push'
run: | run: |
apt-get update
apt-get install -y curl apt-get install -y curl
curl --upload-file Subsurface-mobile.apk "https://transfer.sh/Subsurface-mobile.apk curl --upload-file Subsurface-mobile.apk "https://transfer.sh/Subsurface-mobile.apk
curl --upload-file Subsurface-mobile.arm64.apk "https://transfer.sh/Subsurface-mobile.arm64.apk curl --upload-file Subsurface-mobile.arm64.apk "https://transfer.sh/Subsurface-mobile.arm64.apk

View file

@ -35,5 +35,6 @@ jobs:
- name: copy to transfer.sh - name: copy to transfer.sh
if: github.event_name == 'push' if: github.event_name == 'push'
run: | run: |
apt-get update
apt-get install -y curl apt-get install -y curl
curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage

View file

@ -56,6 +56,7 @@ jobs:
- name: copy to transfer.sh - name: copy to transfer.sh
if: github.event_name == 'push' if: github.event_name == 'push'
run: | run: |
apt-get update
apt-get install -y curl apt-get install -y curl
curl --upload-file subsurface-installer.exe "https://transfer.sh/subsurface-installer.exe curl --upload-file subsurface-installer.exe "https://transfer.sh/subsurface-installer.exe
curl --upload-file subsurface.exe "https://transfer.sh/subsurface.exe curl --upload-file subsurface.exe "https://transfer.sh/subsurface.exe