aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-03-09 10:56:06 -0400
committerAjay Ramachandran <[email protected]>2020-03-09 10:56:06 -0400
commit7b5703aa040d756e729be25a1297521dc4173e47 (patch)
tree65768fc1b8737c176cbb591a32ef32ad269f49e2 /.github
parentd6410663129f8216d9b470a23bbfacf776dd789d (diff)
downloadSponsorBlock-7b5703aa040d756e729be25a1297521dc4173e47.tar.gz
SponsorBlock-7b5703aa040d756e729be25a1297521dc4173e47.zip
Fixed action format
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci/action.yml112
1 files changed, 55 insertions, 57 deletions
diff --git a/.github/workflows/ci/action.yml b/.github/workflows/ci/action.yml
index e1dc35a0..b2ac5b87 100644
--- a/.github/workflows/ci/action.yml
+++ b/.github/workflows/ci/action.yml
@@ -1,60 +1,58 @@
name: CI
-jobs:
-
- build:
- name: Create artifacts
- runs-on: ubuntu-latest
-
- steps:
- # Initialization
- - uses: actions/checkout@v1
- - uses: actions/setup-node@v1
- - run: npm install
- - name: Copy configuration
- run: cp config.json.example config.json
-
- # Create Chrome artifacts
- - name: Create Chrome artifacts
- run: npm run build:chrome
- - uses: actions/upload-artifact@v1
- with:
- name: ChromeExtension
- path: dist
- - run: mkdir ./builds
- - uses: montudor/[email protected]
- with:
- args: zip -qq -r ./builds/ChromeExtension.zip ./dist
-
- # Create Firefox artifacts
- - name: Create Firefox artifacts
- run: npm run build:firefox
- - uses: actions/upload-artifact@v1
- with:
- name: FirefoxExtension
- path: dist
- - uses: montudor/[email protected]
- with:
- args: zip -qq -r ./builds/FirefoxExtension.zip ./dist
-
- # Create Beta artifacts (Builds with the name changed to beta)
- - name: Create Chrome Beta artifacts
- run: npm run build:chrome -- --env.stream=beta
- - uses: actions/upload-artifact@v1
- with:
- name: ChromeExtensionBeta
- path: dist
- - uses: montudor/[email protected]
- with:
- args: zip -qq -r ./builds/ChromeExtensionBeta.zip ./dist
-
- - name: Create Firefox Beta artifacts
- run: npm run build:firefox -- --env.stream=beta
- - uses: actions/upload-artifact@v1
- with:
- name: FirefoxExtensionBeta
- path: dist
- - uses: montudor/[email protected]
- with:
- args: zip -qq -r ./builds/FirefoxExtensionBeta.zip ./dist
+runs:
+ name: Create artifacts
+ runs-on: ubuntu-latest
+
+ steps:
+ # Initialization
+ - uses: actions/checkout@v1
+ - uses: actions/setup-node@v1
+ - run: npm install
+ - name: Copy configuration
+ run: cp config.json.example config.json
+
+ # Create Chrome artifacts
+ - name: Create Chrome artifacts
+ run: npm run build:chrome
+ - uses: actions/upload-artifact@v1
+ with:
+ name: ChromeExtension
+ path: dist
+ - run: mkdir ./builds
+ - uses: montudor/[email protected]
+ with:
+ args: zip -qq -r ./builds/ChromeExtension.zip ./dist
+
+ # Create Firefox artifacts
+ - name: Create Firefox artifacts
+ run: npm run build:firefox
+ - uses: actions/upload-artifact@v1
+ with:
+ name: FirefoxExtension
+ path: dist
+ - uses: montudor/[email protected]
+ with:
+ args: zip -qq -r ./builds/FirefoxExtension.zip ./dist
+
+ # Create Beta artifacts (Builds with the name changed to beta)
+ - name: Create Chrome Beta artifacts
+ run: npm run build:chrome -- --env.stream=beta
+ - uses: actions/upload-artifact@v1
+ with:
+ name: ChromeExtensionBeta
+ path: dist
+ - uses: montudor/[email protected]
+ with:
+ args: zip -qq -r ./builds/ChromeExtensionBeta.zip ./dist
+
+ - name: Create Firefox Beta artifacts
+ run: npm run build:firefox -- --env.stream=beta
+ - uses: actions/upload-artifact@v1
+ with:
+ name: FirefoxExtensionBeta
+ path: dist
+ - uses: montudor/[email protected]
+ with:
+ args: zip -qq -r ./builds/FirefoxExtensionBeta.zip ./dist