Don't code sign ssh-agent #22
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: CI | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
name: Building release assets | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: xcode-select | |
run: sudo xcode-select -s /Applications/Xcode.app | |
- name: build-ios_system | |
run: swift run --package-path xcfs build | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.ref }} | |
body_path: .build/release.md | |
draft: false | |
prerelease: false | |
- name: Upload ios_error.h | |
id: upload_ios_error | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ios_error.h | |
asset_name: ios_error.h | |
asset_content_type: text/plain | |
- name: Upload commandDictionary.plist | |
id: upload_commandDictionary | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./Resources/commandDictionary.plist | |
asset_name: commandDictionary.plist | |
asset_content_type: text/plain | |
- name: Upload ios_system | |
id: upload-ios_system | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: .build/ios_system.xcframework.zip | |
asset_name: ios_system.xcframework.zip | |
asset_content_type: application/zip | |
- name: Upload awk.xcframework | |
id: upload-awk | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: .build/awk.xcframework.zip | |
asset_name: awk.xcframework.zip | |
asset_content_type: application/zip | |
- name: Upload tar.xcframework | |
id: upload-tar | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: .build/tar.xcframework.zip | |
asset_name: tar.xcframework.zip | |
asset_content_type: application/zip | |
- name: Upload curl_ios.xcframework | |
id: upload-curl_ios | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: .build/curl_ios.xcframework.zip | |
asset_name: curl_ios.xcframework.zip | |
asset_content_type: application/zip | |
- name: Upload files.xcframework | |
id: upload-files | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: .build/files.xcframework.zip | |
asset_name: files.xcframework.zip | |
asset_content_type: application/zip | |
- name: Upload shell.xcframework | |
id: upload-shell | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: .build/shell.xcframework.zip | |
asset_name: shell.xcframework.zip | |
asset_content_type: application/zip | |
- name: Upload ssh_cmd.xcframework | |
id: upload-ssh | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: .build/ssh_cmd.xcframework.zip | |
asset_name: ssh_cmd.xcframework.zip | |
asset_content_type: application/zip | |
- name: Upload text.xcframework | |
id: upload-text | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: .build/text.xcframework.zip | |
asset_name: text.xcframework.zip | |
asset_content_type: application/zip |