Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vannvan committed Dec 5, 2023
1 parent 3f38a36 commit bcf7980
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 48 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/yuque-tools-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@ jobs:
name: ytool-FreeBSD-x86_64.tar.gz
command: build

# - release_for: Windows-x86_64
# os: windows-latest
# target: x86_64-pc-windows-msvc
# bin: ytool.exe
# name: ytool-Windows-x86_64.zip
# command: build
- release_for: Windows-x86_64
os: windows-latest
target: x86_64-pc-windows-msvc
bin: ytool.exe
name: ytool-Windows-x86_64.zip
command: build

# - release_for: macOS-x86_64
# os: macOS-latest
# target: x86_64-apple-darwin
# bin: ytool
# name: ytool-macOS-x86_64.tar.gz
# command: build
- release_for: macOS-x86_64
os: macOS-latest
target: x86_64-apple-darwin
bin: ytool
name: ytool-macOS-x86_64.tar.gz
command: build

# - release_for: macOS-aarch64
# os: macOS-latest
# target: aarch64-apple-darwin
# bin: ytool
# name: ytool-macOS-aarch64.tar.gz
# command: build
- release_for: macOS-aarch64
os: macOS-latest
target: aarch64-apple-darwin
bin: ytool
name: ytool-macOS-aarch64.tar.gz
command: build

runs-on: ${{ matrix.platform.os }}
steps:
Expand Down Expand Up @@ -78,6 +78,7 @@ jobs:
path: 'ytool-*'

- name: Publish GitHub release
# 这个有点问题
# uses: softprops/action-gh-release@v1
# with:
# draft: true
Expand All @@ -91,3 +92,4 @@ jobs:
artifacts: 'ytool-*'
allowUpdates: true
bodyFile: 'yuque-tools/CHANGELOG.md'
if: startsWith( github.ref, 'refs/tags/v' )
27 changes: 0 additions & 27 deletions CHANGELOG.md

This file was deleted.

4 changes: 1 addition & 3 deletions yuque-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
## 1.0.4 2023-12-05

- test infomation
## v1.0.4 2023-12-05

### 使用说明

Expand Down

0 comments on commit bcf7980

Please sign in to comment.