Skip to content

Create Excel With Embeds #5

Create Excel With Embeds

Create Excel With Embeds #5

Workflow file for this run

name: Create Excel With Embeds
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-15 # required for Xcode 16.x
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Swift
uses: swift-actions/setup-swift@v2
with:
swift-version: '6.0'
- name: Build XLKit package
run: swift build -Xswiftc -Xfrontend -Xswiftc -disable-round-trip-debug-types
- name: Run Excel Generation Script
run: |
swift run -Xswiftc -Xfrontend -Xswiftc -disable-round-trip-debug-types XLKitTestRunner embed
- name: Zip Excel file
run: |
if [ -f "Test-Workflows/Embed-Test-Embed.xlsx" ]; then
zip Embed-Test-Embed.zip "Test-Workflows/Embed-Test-Embed.xlsx"
else
echo "Excel file not found!" && exit 1
fi
- name: Upload Excel artifact
uses: actions/upload-artifact@v4
with:
name: Excel Test File With Embeds
path: Embed-Test-Embed.zip