-
Notifications
You must be signed in to change notification settings - Fork 65
91 lines (80 loc) · 2.43 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Publish
on:
push:
tags:
- "v*"
jobs:
build_ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: Build
uses: ./.github/actions/ubuntu
- name: ls
run: ls -l app.zip
- name: Rename
run: mv app.zip neothesia-ubuntu.zip
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia-ubuntu.zip
build_ubuntu_recorder:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: Build
uses: ./.github/actions/ubuntu-recorder
- name: ls
run: ls -l app.zip
- name: Rename
run: mv app.zip neothesia-cli-ubuntu.zip
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia-cli-ubuntu.zip
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- id: Build
uses: ./.github/actions/windows
- name: ls
run: ls -l target/release/neothesia.exe
- name: Rename
run: Move-Item -Path target/release/neothesia.exe -Destination neothesia.exe
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia.exe
build_windows_recorder:
runs-on: windows-latest
env:
FFMPEG_DOWNLOAD_URL: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z
steps:
- uses: actions/checkout@v4
- id: Build
uses: ./.github/actions/windows-recorder
- name: ls
run: ls -l target/release/neothesia-cli.exe
- name: Rename
run: Move-Item -Path target/release/neothesia-cli.exe -Destination neothesia-cli.exe
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia-cli.exe
build_macos:
runs-on: macos-latest
env:
MACOSX_DEPLOYMENT_TARGET: 10.12
steps:
- uses: actions/checkout@v4
- id: Build
uses: ./.github/actions/macos
- name: ls
run: ls -l .github/app/app.zip
- name: Rename
run: mv .github/app/app.zip neothesia-macos.zip
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{github.ref_name}} neothesia-macos.zip