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 76a2cf3
Showing 1 changed file with 20 additions and 0 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

0 comments on commit 76a2cf3

Please sign in to comment.