-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (44 loc) · 1.22 KB
/
x86-windows.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
name: x86-windows
on:
workflow_dispatch:
push:
branches: [ "master", "main", "dev" ]
env:
PACKAGE_DIR: package
jobs:
skip_check:
continue-on-error: false
runs-on: ubuntu-22.04
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content'
cancel_others: 'true'
skip_after_successful_duplicate: 'true'
paths_ignore: '["**/README.md", "**/docs/**", "**/LICENSE"]'
do_not_skip: '["workflow_dispatch", "schedule"]'
build:
needs: skip_check
if: needs.skip_check.outputs.should_skip != 'true'
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
shell: bash
run: cargo build
- name: Copy files
shell: bash
run: ./scripts/create_package.sh ${{env.PACKAGE_DIR}} debug
- name: Download third party binaries
shell: bash
run: ./scripts/download_win32.sh
- name: Upload files
uses: actions/upload-artifact@v3
with:
name: ytdlp_webui_windows_x86
path: ${{github.workspace}}/${{env.PACKAGE_DIR}}