Skip to content

Commit

Permalink
....
Browse files Browse the repository at this point in the history
  • Loading branch information
fengdeyingzi committed Sep 25, 2024
1 parent ef9f78d commit 19cd2f6
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,22 @@ jobs:
include:
- os: ubuntu-latest
platform: arm
output-name: linux_x64/definetool
output-name: definetool
- os: macOS-latest
output-name: macos_x64/definetool
output-name: definetool
- os: windows-latest
output-name: win_x64/definetool.exe
output-name: definetool.exe
steps:
- uses: actions/checkout@v4
- uses: DanTup/gh-actions/setup-dart@master
- name: platform
run: file /bin/ls
- name: install packages
run: dart pub get
- name: make release/linux_x64 directory
run: mkdir -p release/linux_x64
- name: make release/macos_x64 directory
run: mkdir -p release/macos_x64
- name: make release/win_x64 directory
run: mkdir -p release/win_x64
- name: compile to native
run: dart compile exe bin/definetool.dart -v -o release/${{ matrix.output-name }}
run: dart compile exe bin/definetool.dart -v -o ${{ matrix.output-name }}
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: definetool-${{ matrix.os }}
path: release*
path: definetool*

0 comments on commit 19cd2f6

Please sign in to comment.