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 a1a1462
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
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.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"identity" : "appstoreconnect-swift-sdk",
"kind" : "remoteSourceControl",
"location" : "git@github.com:AvdLee/appstoreconnect-swift-sdk.git",
"location" : "https://github.com/AvdLee/appstoreconnect-swift-sdk.git",
"state" : {
"revision" : "d345a2bcacdaa053ee7c758f05c97f668f24d18a",
"version" : "3.0.1"
Expand Down
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 a1a1462

Please sign in to comment.