Skip to content

Commit

Permalink
Merge a647312 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 8, 2022
2 parents 577a128 + a647312 commit c2c535c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,16 @@ jobs:
mkdir build
dart compile exe bin/exe2dist.dart -o build/exe2dist.exe
- name: Create ZIP with the exe
- name: Compress itself :)
run: |
dart script/archive.dart
build/exe2dist.exe exe2dist build/exe2dist.exe build/dist/
#dart script/archive.dart
- name: Store ZIP as artifact
- name: Store ZIP or TGZ as artifact
uses: actions/upload-artifact@v3
with:
name: binary_from_${{ matrix.os }}
path: build/*.zip
path: build/dist/*
retention-days: 3


Expand Down
2 changes: 1 addition & 1 deletion bin/source/archive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Future<void> binaryToDist(
{required File sourceExe,
required String programName,
required Directory targetDir}) async {
createOnNeed(targetDir);
createOnNeed(targetDir); // TODO unit test

print("* Source: ${sourceExe.path}");

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: exe2dist
description: Binary executable packaging tool.
version: 0.2.0
version: 0.2.1

environment:
sdk: '>=2.18.0 <3.0.0'
Expand All @@ -14,4 +14,4 @@ dependencies:
#args: ^2.3.1
#either_dart: ^0.2.0
glob: ^2.1.0
path: ^1.8.2
path: ^1.8.2

0 comments on commit c2c535c

Please sign in to comment.