-
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (38 loc) · 1.27 KB
/
test.yaml
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
name: Test setup-youtubeuploader
on:
push:
paths:
- action.yml
- scripts/**
- .github/workflows/test.yaml
jobs:
test-with-credentials:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: [latest, "${{ vars.SPECIFIED_VERSION }}"]
steps:
- name: Setup YouTube Uploader using setup-youtubeuploader
uses: AnimMouse/setup-youtubeuploader@main
with:
client_secrets: ${{ secrets.CLIENT_SECRETS }}
request_token: ${{ secrets.REQUEST_TOKEN }}
version: ${{ matrix.version }}
- name: Test YouTube Uploader by checking version
run: youtubeuploader -version
test-without-credentials:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: [latest, "${{ vars.SPECIFIED_VERSION }}"]
steps:
- name: Setup YouTube Uploader using setup-youtubeuploader
uses: AnimMouse/setup-youtubeuploader@main
with:
version: ${{ matrix.version }}
- name: Test YouTube Uploader by checking version
run: youtubeuploader -version