From 099eeb3e7dfc3dafd947676fd965a0bec58e2d3c Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Wed, 22 Feb 2023 23:42:42 -0800 Subject: [PATCH] [BACKEND] Test release binaries in their environment --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6a231803..d2796d46 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -84,6 +84,9 @@ jobs: pyinstaller ytdl-sub.spec mkdir -p /opt/builds mv dist/ytdl-sub /opt/builds/ytdl-sub_linux + - name: Test Package + run: | + cd /opt/builds && ./ytdl-sub_linux view "https://www.youtube.com/watch?v=hxV9b-1hjfw" - name: Save build to cache uses: actions/cache@v3 @@ -122,6 +125,7 @@ jobs: pip3 install pyinstaller pyinstaller --log-level=DEBUG ytdl-sub.spec mv dist/ytdl-sub /builds/ytdl-sub_${{ matrix.arch }} + cd /builds && ./ytdl-sub_${{ matrix.arch }} view "https://www.youtube.com/watch?v=hxV9b-1hjfw" - name: Save build to cache uses: actions/cache@v3