Skip to content

Commit

Permalink
ci: upload aarch64 to github release
Browse files Browse the repository at this point in the history
  • Loading branch information
shinchiro committed Sep 18, 2024
1 parent 8138405 commit 21adfd8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/mpv_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ jobs:
release_i686_key: ${{ secrets.CACHE_VERSION }}-release_i686-${{ github.run_id }}
release_x86_64_key: ${{ secrets.CACHE_VERSION }}-release_x86_64-${{ github.run_id }}
release_x86_64_v3_key: ${{ secrets.CACHE_VERSION }}-release_x86_64_v3-${{ github.run_id }}
release_aarch64_key: ${{ secrets.CACHE_VERSION }}-release_aarch64-${{ github.run_id }}
container:
image: docker://alpine:latest

Expand Down Expand Up @@ -237,10 +238,16 @@ jobs:
path: release_x86_64_v3
key: ${{ env.release_x86_64_v3_key }}

- name: Loading release_aarch64 cache
uses: actions/cache/restore@main
with:
path: release_aarch64
key: ${{ env.release_aarch64_key }}

- name: Moving archives
run: |
mkdir -p release
mv release_i686/* release_x86_64/* release_x86_64_v3/* release
mv release_i686/* release_x86_64/* release_x86_64_v3/* release_aarch64/* release
du -ah release/*
- name: Uploading packages to Sourceforge
Expand Down Expand Up @@ -309,6 +316,7 @@ jobs:
curl -u shinchiro:$GH_TOKEN $CURL_RETRIES -s -o /dev/null -X DELETE -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/shinchiro/mpv-winbuild-cmake/actions/caches?key=$release_i686_key
curl -u shinchiro:$GH_TOKEN $CURL_RETRIES -s -o /dev/null -X DELETE -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/shinchiro/mpv-winbuild-cmake/actions/caches?key=$release_x86_64_key
curl -u shinchiro:$GH_TOKEN $CURL_RETRIES -s -o /dev/null -X DELETE -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/shinchiro/mpv-winbuild-cmake/actions/caches?key=$release_x86_64_v3_key
curl -u shinchiro:$GH_TOKEN $CURL_RETRIES -s -o /dev/null -X DELETE -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/shinchiro/mpv-winbuild-cmake/actions/caches?key=$release_aarch64_key
call_workflow:
name: Run mpv_gcc
Expand Down

0 comments on commit 21adfd8

Please sign in to comment.