From a9b0aadef7a53adf6550c778ab491c0cc1cd281b Mon Sep 17 00:00:00 2001 From: Shaowen Yin Date: Sun, 30 Jun 2024 14:09:36 +0800 Subject: [PATCH] ci: macOS almost ok, debug windows (try 4/n) (#848) --- .github/workflows/macos-release.yml | 2 ++ .github/workflows/win-release.yml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/macos-release.yml b/.github/workflows/macos-release.yml index 36766b167..f4d4f6640 100644 --- a/.github/workflows/macos-release.yml +++ b/.github/workflows/macos-release.yml @@ -32,6 +32,8 @@ jobs: - name: Install libmpv run: | brew install mpv + - name: Test if no syntax error + run: feeluown -h - name: Bundle run: | make bundle diff --git a/.github/workflows/win-release.yml b/.github/workflows/win-release.yml index 53fa7e99f..14ecf43aa 100644 --- a/.github/workflows/win-release.yml +++ b/.github/workflows/win-release.yml @@ -49,3 +49,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: files: dist/FeelUOwn-windows.zip + - name: Upload to nightly + if: github.ref == 'refs/heads/master' + uses: softprops/action-gh-release@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + files: dist/FeelUOwn-windows.zip + tag_name: nightly