From 7d49b6e0795c86db2bbb35f23216d601b4c8ec7a Mon Sep 17 00:00:00 2001 From: Daniel Leech Date: Sun, 20 Apr 2025 21:39:38 +0100 Subject: [PATCH 1/2] Fix filename --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8e7ad4..c4e3887 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: target: "x86_64-unknown-linux-musl" - name: macos os: macos-latest - artifact_name: target/x86_64-apple-darwin/release/debug-tui-apple-darwin + artifact_name: target/x86_64-apple-darwin/release/debug-tui asset_name: debug-tui-apple-darwin target: "x86_64-apple-darwin" From e8678fdd3a9b062c6607acda873af1624c8a4da5 Mon Sep 17 00:00:00 2001 From: Daniel Leech Date: Sun, 20 Apr 2025 22:03:24 +0100 Subject: [PATCH 2/2] Test --- .github/workflows/release.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4e3887..2c4f775 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,8 +5,9 @@ permissions: on: push: - tags: - - "*.*.*" + branches: [ "main" ] + pull_request: + branches: [ "main" ] jobs: publish: @@ -45,11 +46,13 @@ jobs: with: command: build args: --release --target ${{ matrix.target }} + - name: List + run: find -name debug-tui - name: Rename run: mv ${{ matrix.artifact_name }} ${{ matrix.asset_name }} - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: ${{ matrix.asset_name }} + # - name: Release + # uses: softprops/action-gh-release@v1 + # with: + # files: ${{ matrix.asset_name }}