Skip to content

Commit 5be9d25

Browse files
committed
Use the correct Swift in GitHub actions
1 parent a45d30e commit 5be9d25

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/containerization-build-template.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
5353
- name: Make containerization and docs
5454
run: |
55+
source /opt/swiftly/env.sh
5556
make clean containerization docs
5657
tar cfz _site.tgz _site
5758
env:

vminitd/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ SWIFT_SDK_PATH := /tmp/$(notdir $(SWIFT_SDK_URL))
2323

2424
SWIFTLY_URL := https://download.swift.org/swiftly/darwin/swiftly.pkg
2525
SWIFTLY_FILENAME := $(notdir $(SWIFTLY_URL))
26-
SWIFTLY_BIN_DIR ?= ~/.swiftly/bin
27-
SWIFT ?= $(SWIFTLY_BIN_DIR)/swift
26+
SWIFTLY_BIN_DIR ?= $(HOME)/.swiftly/bin
27+
SWIFT := $(SWIFTLY_BIN_DIR)/swift
2828
BUILD_BIN_DIR := $(shell $(SWIFT) build -c $(BUILD_CONFIGURATION) $(SWIFT_CONFIGURATION) --show-bin-path)
2929

3030
SYSTEM_TYPE := $(shell uname -s)

0 commit comments

Comments
 (0)