-
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (31 loc) · 994 Bytes
/
Release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Release
on:
workflow_dispatch:
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
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
environment: Env
steps:
- uses: mislav/bump-homebrew-formula-action@v3
with:
homebrew-tap: finnvoor/homebrew-tools
download-url: https://github.com/finnvoor/xcc/releases/download/1.0.1/1.0.1.tar.gz
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}