diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8e7ad4..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: @@ -22,7 +23,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" @@ -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 }}