-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 844 Bytes
/
Copy pathbuild.yml
File metadata and controls
36 lines (31 loc) · 844 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
name: Build and Release macOS-alias-utils
on:
push:
tags: ["v*"]
workflow_dispatch:
jobs:
build-and-release:
name: Build and Release
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v6
- name: Build Binaries
run: chmod +x build && ./build
env:
APP_VERSION: ${{ github.ref_name }}
- name: Package ZIP
run: |
zip macOS-alias-utils.${{ github.ref_name }}.zip \
bin/* \
scripts/* \
README.md \
LICENSE
- name: Publish Release
uses: softprops/action-gh-release@v3
if: startsWith(github.ref, 'refs/tags/')
with:
files: macOS-alias-utils.${{ github.ref_name }}.zip
generate_release_notes: true