Skip to content

Commit

Permalink
Add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor committed Dec 11, 2023
1 parent be782e3 commit 2fa384a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release

on:
push:
tags:
- "*.*.*"

jobs:
release:
runs-on: macos-13

steps:
- uses: actions/checkout@v3
- run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: Build
run: swift build -c release --arch arm64 --arch x86_64 --product xcc
- name: Compress
run: tar -czf ${{ github.ref_name }}.tar.gz -C .build/apple/Products/Release xcc
- name: Release
run: gh release create ${{ github.ref_name }} ${{ github.ref_name }}.tar.gz
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let package = Package(
platforms: [.macOS(.v11)],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.0"),
.package(url: "git@github.com:AvdLee/appstoreconnect-swift-sdk.git", from: "3.0.1"),
.package(url: "https://github.com:AvdLee/appstoreconnect-swift-sdk.git", from: "3.0.1"),
.package(url: "https://github.com/Finnvoor/SwiftTUI.git", from: "1.0.0")
],
targets: [
Expand Down

0 comments on commit 2fa384a

Please sign in to comment.