Skip to content

Commit

Permalink
[CI] Do not upload Linux 5.15 builds
Browse files Browse the repository at this point in the history
as we switched to Linux 6.1. Keep this workflow as test, as we keep rebasing the 5.15 branch onto latest upstream for a while.

Signed-off-by: MichaIng <[email protected]>
  • Loading branch information
MichaIng committed Oct 7, 2023
1 parent 765f7b0 commit 4ffee03
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/visionfive2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ jobs:
sudo chown -R 0:0 linux-image-visionfive2
dpkg-deb -b -Zxz -z9 -Sextreme linux-image-visionfive2
sudo rm -R linux-image-visionfive2
- name: Upload
run: |
[ -d ~/.ssh ] || mkdir ~/.ssh
umask 377
echo '${{ secrets.KNOWN_HOSTS }}' > ~/.ssh/known_hosts
echo '${{ secrets.SSH_KEY }}' > ~/.ssh/id_ed25519
curl -T 'linux-image-visionfive2.deb' --key ~/.ssh/id_ed25519 '${{ secrets.UPLOAD_URL }}all/'
curl 'https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE }}/purge_cache' -H 'Authorization: Bearer ${{ secrets.CF_TOKEN }}' -H 'Content-Type: application/json' \
--data '{"files":["https://dietpi.com/downloads/binaries/testing/","https://dietpi.com/downloads/binaries/testing/linux-image-visionfive2.deb"]}'
# - name: Upload
# run: |
# [ -d ~/.ssh ] || mkdir ~/.ssh
# umask 377
# echo '${{ secrets.KNOWN_HOSTS }}' > ~/.ssh/known_hosts
# echo '${{ secrets.SSH_KEY }}' > ~/.ssh/id_ed25519
# curl -T 'linux-image-visionfive2.deb' --key ~/.ssh/id_ed25519 '${{ secrets.UPLOAD_URL }}all/'
# curl 'https://api.cloudflare.com/client/v4/zones/${{ secrets.CF_ZONE }}/purge_cache' -H 'Authorization: Bearer ${{ secrets.CF_TOKEN }}' -H 'Content-Type: application/json' \
# --data '{"files":["https://dietpi.com/downloads/binaries/testing/","https://dietpi.com/downloads/binaries/testing/linux-image-visionfive2.deb"]}'

0 comments on commit 4ffee03

Please sign in to comment.