Skip to content

Commit

Permalink
Migrate to debian bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
holazt committed Mar 31, 2024
1 parent 1f2ceb7 commit 3514784
Show file tree
Hide file tree
Showing 3 changed files with 406 additions and 165 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
# image_repo: ubuntu
# }
- {
# https://hub.docker.com/_/debian, sid-20230227
name: debian-sid,
# https://hub.docker.com/_/debian
name: debian-bookworm,
os: debian,
symbol: sid,
symbol: bookworm,
arch: amd64,
image_repo: debian
}
Expand All @@ -41,13 +41,13 @@ jobs:
steps:
- name: Checkout Source code
if: github.event_name == 'push'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Checkout Source code
if: github.event_name == 'pull_request'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
shell: bash
run: |
cd /worker
wget -c https://github.com/AppImageCommunity/pkg2appimage/releases/download/continuous/pkg2appimage-1807-x86_64.AppImage -O pkg2appimage
wget -c https://github.com/AppImageCommunity/pkg2appimage/releases/download/continuous/pkg2appimage--x86_64.AppImage -O pkg2appimage
cat /etc/apt/sources.list.d/debian.sources
- name: Get appimagetool tool
shell: bash
Expand All @@ -103,8 +103,8 @@ jobs:
shell: bash
run: |
cat > /etc/apt/sources.list <<EOF
deb http://ftp.us.debian.org/debian/ sid main contrib non-free non-free-firmware
deb-src http://ftp.us.debian.org/debian/ sid main contrib non-free non-free-firmware
deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src http://ftp.us.debian.org/debian/ bookworm main contrib non-free non-free-firmware
EOF
apt-get -y -qq update
apt-get -y build-dep vlc
Expand Down Expand Up @@ -151,18 +151,18 @@ jobs:
/worker/appimagetool netease-cloud-music.AppDir
- name: Upload AppImage(vlc with patch)
run: |
bash $GITHUB_WORKSPACE/scripts/services/wetransfer.com.sh $GITHUB_WORKSPACE/appimage-patch/*.AppImage
sh $GITHUB_WORKSPACE/scripts/services/wetransfer.com.sh $GITHUB_WORKSPACE/appimage-patch/*.AppImage
- name: Upload AppImage(original)
run: |
bash $GITHUB_WORKSPACE/scripts/services/wetransfer.com.sh $GITHUB_WORKSPACE/build/dist/NetEase_Cloud_Music-*.*.AppImage
sh $GITHUB_WORKSPACE/scripts/services/wetransfer.com.sh $GITHUB_WORKSPACE/build/dist/NetEase_Cloud_Music-*.*.AppImage
- name: Artifact(vlc with patch)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifact-vlc-patch
path: |
${{ github.workspace }}/appimage-patch/*.AppImage
- name: Artifact(original)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifact-original
path: |
Expand Down
Loading

0 comments on commit 3514784

Please sign in to comment.