Skip to content

Update actions/upload-artifact action to v4.5.0 #249

Update actions/upload-artifact action to v4.5.0

Update actions/upload-artifact action to v4.5.0 #249

Workflow file for this run

name: macOS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
macos-test-build-release-xcode:
runs-on: macOS-latest
strategy:
matrix:
xcode: ["15.4", "16.0"]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Build & Test Release
run: swift test -c release
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: build-artifacts-macOS-${{ matrix.xcode }}-${{ github.run_id }}
path: |
.build/*.yaml
.build/*.xml
.build/*.json
.build/*.txt
.build/**/*.json
.build/**/*.txt
.build/**/*.a
.build/**/*.dSYM
.build/**/*.gdb
.build/**/*.xctest
.build/**/*.bundle
.build/**/MetalApp
.build/**/Minimal
if-no-files-found: warn
include-hidden-files: true