Skip to content

Commit

Permalink
Cleanup build-container calls, store SWIFT_VERSION as a string
Browse files Browse the repository at this point in the history
 - Otherwise it is seen as a double or int which causes issues
  • Loading branch information
xtremekforever committed Dec 30, 2024
1 parent e55154a commit 65835bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-swift-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- swift-target-arch: "armv6"
distribution: "raspios-bookworm"
env:
SWIFT_VERSION: 6.0.3
SWIFT_VERSION: "6.0.3"
SWIFT_TAG: swift-6.0.3-RELEASE
name: Build Swift
runs-on: ubuntu-latest
Expand All @@ -29,9 +29,7 @@ jobs:
swift-workspace-cache: swift-workspace
- name: Generate Builder Container
shell: bash
run: |
source ./swift-builder/swift-builder-common
./swift-builder/build-container.sh
run: ./swift-builder/build-container.sh
- uses: ./.github/actions/build-for-distribution
name: Build & Publish Swift ${{ env.SWIFT_VERSION }}
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build-swift-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ jobs:
swift-workspace-cache: ${{ env.SWIFT_WORKSPACE_CACHE }}
- name: Build Swift Nightly Container
shell: bash
run: |
source ./swift-builder/swift-builder-common
./swift-builder/build-container.sh
run: ./swift-builder/build-container.sh
- uses: ./.github/actions/build-for-distribution
name: Build & Publish Swift
with:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/build-swift-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [ "release/6.0.3" ]

env:
SWIFT_VERSION: 6.0.3
SWIFT_VERSION: "6.0.3"
SWIFT_TAG: swift-6.0.3-RELEASE
SWIFT_WORKSPACE_CACHE: swift-workspace

Expand Down Expand Up @@ -38,9 +38,7 @@ jobs:
- uses: actions/checkout@v4
- name: Generate Builder Container
shell: bash
run: |
source ./swift-builder/swift-builder-common
./swift-builder/build-container.sh
run: ./swift-builder/build-container.sh
- uses: ./.github/actions/build-for-distribution
name: "Build & Publish Swift ${{ env.SWIFT_VERSION }}"
with:
Expand Down

0 comments on commit 65835bc

Please sign in to comment.