Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ permissions:

on:
push:
tags:
- "*.*.*"
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
publish:
Expand All @@ -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"

Expand All @@ -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 }}
Loading