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 285fff5 commit 3f38a36
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/yuque-tools-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
strategy:
matrix:
platform:
# - release_for: FreeBSD-x86_64
# os: ubuntu-20.04
# target: x86_64-unknown-freebsd
# bin: ytool
# name: ytool-FreeBSD-x86_64.tar.gz
# command: build
- release_for: FreeBSD-x86_64
os: ubuntu-20.04
target: x86_64-unknown-freebsd
bin: ytool
name: ytool-FreeBSD-x86_64.tar.gz
command: build

# - release_for: Windows-x86_64
# os: windows-latest
Expand All @@ -33,12 +33,12 @@ jobs:
# 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 @@ -88,5 +88,6 @@ jobs:
# if: startsWith( github.ref, 'refs/tags/v' )
uses: ncipollo/release-action@v1
with:
artifacts: "ytool-*"
bodyFile: "yuque-tools/CHANGELOG.md"
artifacts: 'ytool-*'
allowUpdates: true
bodyFile: 'yuque-tools/CHANGELOG.md'

0 comments on commit 3f38a36

Please sign in to comment.