From 96a811fa4f617face3e1d54b46bf3e9e0cc37240 Mon Sep 17 00:00:00 2001 From: Ben C Date: Fri, 8 Mar 2024 22:09:48 -0500 Subject: [PATCH 1/2] [META] Fix CLI Workflow --- .github/workflows/release_cli.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_cli.yml b/.github/workflows/release_cli.yml index 3d741506..a75731b1 100644 --- a/.github/workflows/release_cli.yml +++ b/.github/workflows/release_cli.yml @@ -59,7 +59,8 @@ jobs: env: ANALYTICS_API_KEY: ${{ secrets.ANALYTICS_API_KEY }} - - name: Upload CLI + - name: Upload CLI (Ubuntu) + if: matrix.platform == 'ubuntu-20.04' uses: softprops/action-gh-release@v2 with: name: Outer Wilds Mod Manager CLI Version ${{ steps.get_version.outputs.version }} @@ -69,6 +70,17 @@ jobs: draft: true files: | owmods.tar.zst - target/debian/owmods-cli_${{ steps.get_version.outputs.version }}_amd64.deb + owmods_cli_${{ steps.get_version.outputs.version }}_amd64.deb target/release/owmods - target/release/owmods.exe + + - name: Upload CLI (Windows) + if: matrix.platform == 'windows-latest' + uses: softprops/action-gh-release@v2 + with: + name: Outer Wilds Mod Manager CLI Version ${{ steps.get_version.outputs.version }} + tag_name: cli_v${{ steps.get_version.outputs.version }} + fail_on_unmatched_files: false + generate_release_notes: false + draft: true + files: | + target/release/owmods.exe From 8db3efcae3257fb179b577348556fd9655f2a834 Mon Sep 17 00:00:00 2001 From: Ben C Date: Fri, 8 Mar 2024 22:11:09 -0500 Subject: [PATCH 2/2] [META] Fix CLI Workflow --- .github/workflows/release_cli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_cli.yml b/.github/workflows/release_cli.yml index a75731b1..e0765480 100644 --- a/.github/workflows/release_cli.yml +++ b/.github/workflows/release_cli.yml @@ -55,7 +55,7 @@ jobs: - name: Generate Deb File if: matrix.platform == 'ubuntu-20.04' - run: cargo deb -p owmods_cli + run: cargo deb -p owmods_cli -o owmods_cli_${{ steps.get_version.outputs.version }}_amd64.deb env: ANALYTICS_API_KEY: ${{ secrets.ANALYTICS_API_KEY }}