Resolved error where not actually building
This commit is contained in:
@@ -15,6 +15,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
swift build -c release
|
||||||
BIN_PATH=$(swift build -c release --show-bin-path)
|
BIN_PATH=$(swift build -c release --show-bin-path)
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
cp "$BIN_PATH/*" artifacts/
|
cp "$BIN_PATH/*" artifacts/
|
||||||
@@ -35,6 +36,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
swift build -c release
|
||||||
$binPath = swift build -c release --show-bin-path
|
$binPath = swift build -c release --show-bin-path
|
||||||
New-Item -ItemType Directory -Path artifacts -Force
|
New-Item -ItemType Directory -Path artifacts -Force
|
||||||
Copy-Item -Path "$binPath\*" -Destination artifacts\ -Recurse
|
Copy-Item -Path "$binPath\*" -Destination artifacts\ -Recurse
|
||||||
@@ -62,6 +64,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
swift build -c release
|
||||||
BIN_PATH=$(swift build -c release --show-bin-path)
|
BIN_PATH=$(swift build -c release --show-bin-path)
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
cp "$BIN_PATH/*" artifacts/
|
cp "$BIN_PATH/*" artifacts/
|
||||||
|
|||||||
Reference in New Issue
Block a user