Skip to content

Commit 4d143a5

Browse files
authored
ci: try to fix ci (#23)
* ci: try to fix deprecated workflow * ci: update ffmpeg version surely this won't break anything Clueless * ci: let's try this * ci: try this * ci: try different ffmpeg cmake arg * ci: temporarily disable releases upload qt 6 version is a bit unstable right now so we wanna keep the qt 5 version available
1 parent cdd0e19 commit 4d143a5

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

.github/workflows/ci.yml

+15-16
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: windows-latest
1818

1919
env:
20-
FFMPEG_DIR: ffmpeg-n4.4-latest-win64-gpl-shared-4.4
20+
FFMPEG_DIR: ffmpeg-n5.1-latest-win64-gpl-shared-5.1
2121

2222
steps:
2323
- name: Checkout
@@ -39,12 +39,11 @@ jobs:
3939
run: |
4040
curl -fLOSs https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/$FFMPEG_DIR.zip
4141
7z x $FFMPEG_DIR.zip
42-
echo "$FFMPEG_DIR" >> $GITHUB_PATH
4342
4443
- name: Build
4544
shell: bash
4645
run: |
47-
cmake . -G Ninja -DCMAKE_BUILD_TYPE=Release
46+
cmake . -G Ninja -DCMAKE_BUILD_TYPE=Release -DFFMPEG_ROOT=$FFMPEG_DIR
4847
ninja
4948
5049
- name: Deploy
@@ -58,20 +57,20 @@ jobs:
5857
windeployqt si-edit.exe libweaver.dll
5958
6059
- name: Upload Build Artifact
61-
uses: actions/upload-artifact@v2.2.1
60+
uses: actions/upload-artifact@v4
6261
with:
6362
path:
6463
deploy
6564

66-
- name: Upload to Releases
67-
shell: bash
68-
if: github.event_name == 'push'
69-
env:
70-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71-
TRAVIS_REPO_SLUG: itsmattkc/siedit
72-
TRAVIS_COMMIT: ${{ github.sha }}
73-
run: |
74-
cd deploy
75-
7z a libweaver.zip *
76-
curl -fLOSs --retry 2 --retry-delay 60 https://github.com/probonopd/uploadtool/raw/master/upload.sh
77-
./upload.sh libweaver.zip
65+
# - name: Upload to Releases
66+
# shell: bash
67+
# if: github.event_name == 'push'
68+
# env:
69+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70+
# TRAVIS_REPO_SLUG: isledecomp/siedit
71+
# TRAVIS_COMMIT: ${{ github.sha }}
72+
# run: |
73+
# cd deploy
74+
# 7z a si-edit.zip *
75+
# curl -fLOSs --retry 2 --retry-delay 60 https://github.com/probonopd/uploadtool/raw/master/upload.sh
76+
# ./upload.sh si-edit.zip

0 commit comments

Comments
 (0)