Skip to content

Commit

Permalink
fix(ci): update release of binary;
Browse files Browse the repository at this point in the history
  • Loading branch information
mat1th committed Mar 26, 2022
1 parent af4af3c commit fedd2fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build swift binary
run: swift build -c release
- name: Zip release build
run: make archive
- name: Get release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swift-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- '**/*.swift'
- '.github/workflows/*.yml'
jobs:
swiftLint:
swift_lint:
runs-on: macos-latest
steps:
- name: Checkout
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
SWIFT_LINT := swiftlint
XCODE_BUILD := xcodebuild
SWIFT := swift
ZIP := zip

SRC := $(find Sources -name "*.swift")

Expand All @@ -22,8 +23,8 @@ build: .build/debug/unlocker

.PHONY: archive
archive: clean
$(SWIFT) build -c release
zip $(BUILD_RELEASE_DIR)/unlocker.zip $(BUILD_RELEASE_DIR)/unlocker
$(SWIFT) build -c release
$(ZIP) -q -j $(BUILD_RELEASE_DIR)/unlocker.zip $(BUILD_RELEASE_DIR)/unlocker

.PHONY: clean
clean:
Expand Down

0 comments on commit fedd2fe

Please sign in to comment.