Improve performance of dependency resolution via depth-first search (… #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-release-cli: | |
name: Build Release CLI | |
runs-on: macos-13 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Select Xcode Version | |
run: sudo xcode-select --switch /Applications/Xcode_15.0.1.app/Contents/Developer | |
- name: Build SafeDITool | |
run: xcrun swift build -c release --product SafeDITool | |
- name: Give SafeDITool executable permissions | |
run: chmod +x .build/*/release/SafeDITool | |
- name: Upload SafeDITool artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SafeDITool | |
path: .build/*/release/SafeDITool | |
- name: Upload SafeDITool as release binary | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.RELEASE_UPLOADER }} | |
file: .build/*/release/SafeDITool | |
tag: ${{ github.ref }} | |
overwrite: false | |
file_glob: true |