-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 823 Bytes
/
release.yml
File metadata and controls
40 lines (32 loc) · 823 Bytes
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:
- "*"
permissions:
contents: write
jobs:
release:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Show Swift version
run: swift --version
- name: Build release package
run: ./scripts/package-release.sh "${{ github.ref_name }}"
- name: Upload workflow artifact
uses: actions/upload-artifact@v4
with:
name: OpenWispr-${{ github.ref_name }}
path: |
dist/*.dmg
dist/*.dmg.sha256
- name: Publish GitHub release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
generate_release_notes: true
files: |
dist/*.dmg
dist/*.dmg.sha256