-
-
Notifications
You must be signed in to change notification settings - Fork 4
64 lines (51 loc) · 1.57 KB
/
main.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
name: Build LinkDown
on:
workflow_dispatch:
jobs:
Build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Download yt-dlp
run: |
cd LinkDown
del yt-dlp.exe
curl -L --max-redirs -1 --output yt-dlp.exe https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe
- name: Compile Setup Wizard
uses: Minionguyjpro/[email protected]
with:
path: LinkDown_Wizard.iss
options: /O+
- name: Upload Setup Wizard
uses: actions/upload-artifact@v4
with:
name: setup
path: Output\linkdown_setup.exe
Upload:
needs: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Download Release Folder
uses: actions/download-artifact@v4
with:
name: setup
path: Output
- name: Setup Git Environment
run: |
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
git config --global user.name github-actions[bot]
- name: Generate Release Tag
id: tag
run: |
echo "::set-output name=release_version::1.1.1"
- name: Upload to Releases
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: LinkDown ${{ steps.tag.outputs.release_version }}
tag_name: ${{ steps.tag.outputs.release_version }}
files: Output/linkdown_setup.exe