-
Notifications
You must be signed in to change notification settings - Fork 7
40 lines (38 loc) · 1.09 KB
/
release.yml
File metadata and controls
40 lines (38 loc) · 1.09 KB
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
35
36
37
38
39
40
name: Release
on:
push:
tags:
- '*'
jobs:
darwin:
name: Publish macOS binaries
runs-on: macos-13
steps:
- uses: actions/checkout@v1
- name: Xcode version
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: Build and package macOS executable
run: make package-darwin
- name: Upload binaries
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: drstring_darwin.tar.gz
asset_name: drstring-universal-apple-darwin.tar.gz
tag: ${{ github.ref }}
overwrite: true
ubuntu:
name: Publish Ubuntu binaries
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and package Ubuntu executable
run: make package-ubuntu
- name: Upload binaries
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: drstring-ubuntu-focal.tar.gz
asset_name: drstring-x86_64-unknown-ubuntu.tar.gz
tag: ${{ github.ref }}
overwrite: true