Skip to content

Commit f1f8146

Browse files
Download linux staticdeps from github instead of sf.net
1 parent 69801aa commit f1f8146

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/linuxbuild.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,20 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
submodules: true
21+
# - name: Fetch static-deps
22+
# run: ci_scripts/download-linux-static-deps.sh
2123
- name: Fetch static-deps
22-
run: ci_scripts/download-linux-static-deps.sh
24+
uses: dawidd6/action-download-artifact@v3
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
repo: DeaDBeeF-Player/deadbeef-staticdeps
28+
workflow: linuxbuild.yml
29+
name: ddb-static-deps-latest.tar.bz2
30+
branch: master
31+
- name: Unpack static-deps
32+
run: |
33+
mkdir -p static-deps
34+
tar jxf ddb-static-deps-latest.tar.bz2 -C static-deps
2335
- name: Run Tests
2436
run: scripts/test.sh
2537
- name: Build for Linux

.github/workflows/linuxdebugbuild.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,20 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
submodules: true
21+
# - name: Fetch static-deps
22+
# run: ci_scripts/download-linux-static-deps.sh
2123
- name: Fetch static-deps
22-
run: ci_scripts/download-linux-static-deps.sh
24+
uses: dawidd6/action-download-artifact@v3
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
repo: DeaDBeeF-Player/deadbeef-staticdeps
28+
workflow: linuxbuild.yml
29+
name: ddb-static-deps-latest.tar.bz2
30+
branch: master
31+
- name: Unpack static-deps
32+
run: |
33+
mkdir -p static-deps
34+
tar jxf ddb-static-deps-latest.tar.bz2 -C static-deps
2335
- name: Run Tests
2436
run: scripts/test.sh
2537
- name: Build for Linux

0 commit comments

Comments
 (0)