Skip to content

Commit 76d9a9a

Browse files
authored
Merge pull request #957 from mchangrh/update-workflow
Update workflow
2 parents f219122 + 514ebe8 commit 76d9a9a

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010

1111
steps:
1212
# Initialization
13-
- uses: actions/checkout@v1
14-
- uses: actions/setup-node@v1
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v2
1515
- run: npm install
1616
- name: Copy configuration
1717
run: cp config.json.example config.json
@@ -23,44 +23,44 @@ jobs:
2323
# Create Chrome artifacts
2424
- name: Create Chrome artifacts
2525
run: npm run build:chrome
26-
- uses: actions/upload-artifact@v1
26+
- uses: actions/upload-artifact@v2
2727
with:
2828
name: ChromeExtension
2929
path: dist
3030
- run: mkdir ./builds
31-
- uses: montudor/action-zip@v0.1.0
31+
- uses: montudor/action-zip@v1
3232
with:
3333
args: zip -qq -r ./builds/ChromeExtension.zip ./dist
3434

3535
# Create Firefox artifacts
3636
- name: Create Firefox artifacts
3737
run: npm run build:firefox
38-
- uses: actions/upload-artifact@v1
38+
- uses: actions/upload-artifact@v2
3939
with:
4040
name: FirefoxExtension
4141
path: dist
42-
- uses: montudor/action-zip@v0.1.0
42+
- uses: montudor/action-zip@v1
4343
with:
4444
args: zip -qq -r ./builds/FirefoxExtension.zip ./dist
4545

4646
# Create Beta artifacts (Builds with the name changed to beta)
4747
- name: Create Chrome Beta artifacts
4848
run: npm run build:chrome -- --env.stream=beta
49-
- uses: actions/upload-artifact@v1
49+
- uses: actions/upload-artifact@v2
5050
with:
5151
name: ChromeExtensionBeta
5252
path: dist
53-
- uses: montudor/action-zip@v0.1.0
53+
- uses: montudor/action-zip@v1
5454
with:
5555
args: zip -qq -r ./builds/ChromeExtensionBeta.zip ./dist
5656

5757
- name: Create Firefox Beta artifacts
5858
run: npm run build:firefox -- --env.stream=beta
59-
- uses: actions/upload-artifact@v1
59+
- uses: actions/upload-artifact@v2
6060
with:
6161
name: FirefoxExtensionBeta
6262
path: dist
63-
- uses: montudor/action-zip@v0.1.0
63+
- uses: montudor/action-zip@v1
6464
with:
6565
args: zip -qq -r ./builds/FirefoxExtensionBeta.zip ./dist
6666

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212

1313
steps:
1414
# Initialization
15-
- uses: actions/checkout@v1
16-
- uses: actions/setup-node@v1
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-node@v2
1717
- run: npm install
1818
- name: Copy configuration
1919
run: cp config.json.example config.json
2020

2121
# Create Chrome artifacts
2222
- name: Create Chrome artifacts
2323
run: npm run build:chrome
24-
- uses: actions/upload-artifact@v1
24+
- uses: actions/upload-artifact@v2
2525
with:
2626
name: ChromeExtension
2727
path: dist
@@ -32,7 +32,7 @@ jobs:
3232
# Create Firefox artifacts
3333
- name: Create Firefox artifacts
3434
run: npm run build:firefox
35-
- uses: actions/upload-artifact@v1
35+
- uses: actions/upload-artifact@v2
3636
with:
3737
name: FirefoxExtension
3838
path: dist
@@ -42,7 +42,7 @@ jobs:
4242
# Create Beta artifacts (Builds with the name changed to beta)
4343
- name: Create Chrome Beta artifacts
4444
run: npm run build:chrome -- --env.stream=beta
45-
- uses: actions/upload-artifact@v1
45+
- uses: actions/upload-artifact@v2
4646
with:
4747
name: ChromeExtensionBeta
4848
path: dist
@@ -75,7 +75,7 @@ jobs:
7575
# Firefox Beta
7676
- name: Create Firefox Beta artifacts
7777
run: npm run build:firefox -- --env.stream=beta
78-
- uses: actions/upload-artifact@v1
78+
- uses: actions/upload-artifact@v2
7979
with:
8080
name: FirefoxExtensionBeta
8181
path: dist
@@ -92,7 +92,7 @@ jobs:
9292
run: sudo apt-get install rename
9393
- name: Rename signed file
9494
run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' *
95-
- uses: actions/upload-artifact@v1
95+
- uses: actions/upload-artifact@v2
9696
with:
9797
name: FirefoxExtensionSigned.xpi
9898
path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ See the [Wiki](https://github.com/ajayyy/SponsorBlock/wiki) for important links.
5050

5151
The backend server code is available here: https://github.com/ajayyy/SponsorBlockServer
5252

53-
To make sure that this project doesn't die, I have made the database publicly downloadable at https://sponsor.ajay.app/database ([License](https://github.com/ajayyy/SponsorBlock/wiki/Database-and-API-License)). If you are planning on using the database in another project, please read the [API Docs](https://github.com/ajayyy/SponsorBlock/wiki/API-Docs) page for more information.
53+
To make sure that this project doesn't die, I have made the database publicly downloadable at https://sponsor.ajay.app/database ([License](https://github.com/ajayyy/SponsorBlock/wiki/Database-and-API-License)). If you are planning on using the database in another project, please read the [API Docs](https://wiki.sponsor.ajay.app/index.php/API_Docs) page for more information.
5454

5555
The dataset and API are now being used in some [ports](https://github.com/ajayyy/SponsorBlock/wiki/3rd-Party-Ports) as well as a [neural network](https://github.com/andrewzlee/NeuralBlock).
5656

5757
# API
5858

59-
You can read the API docs [here](https://github.com/ajayyy/SponsorBlockServer#api-docs).
59+
You can read the API docs [here](https://wiki.sponsor.ajay.app/index.php/API_Docs).
6060

6161
# Building
6262

@@ -90,7 +90,7 @@ mv ./oss-attribution/attribution.txt ./public/oss-attribution/attribution.txt
9090

9191
# Credit
9292

93-
The awesome [Invidious API](https://github.com/omarroth/invidious/wiki/API) was previously used, and the server is now using [NewLeaf](https://git.sr.ht/~cadence/NewLeaf) as a to get video info from YouTube.
93+
The awesome [Invidious API](https://docs.invidious.io/API.md) was previously used, and the server is now using [NewLeaf](https://git.sr.ht/~cadence/NewLeaf) as a to get video info from YouTube.
9494

9595
Originally forked from [YTSponsorSkip](https://github.com/NDevTK/YTSponsorSkip), but very little code remains.
9696

0 commit comments

Comments
 (0)