aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-05-09 13:30:31 -0400
committerAjay <[email protected]>2023-05-09 13:30:31 -0400
commitcc45e764cf0a2d34210d859b501ae7bd8abf6066 (patch)
treed0b4417eec92e71a234053ec01d2d45c44c467cb
parentf1026d403faf5cce4b359f4436f840b61a1e9d14 (diff)
downloadSponsorBlock-cc45e764cf0a2d34210d859b501ae7bd8abf6066.tar.gz
SponsorBlock-cc45e764cf0a2d34210d859b501ae7bd8abf6066.zip
Upload source code with modules to github
-rw-r--r--.github/workflows/release.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9b02bbdb..d554a3b6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -21,6 +21,19 @@ jobs:
- run: npm ci
- name: Copy configuration
run: cp config.json.example config.json
+
+ # Create source artifact with submodule
+ - name: Zip Artifacts
+ - run: cd ..; mkdir ./builds
+ - name: Zip Artifacts
+ run: zip -r ../builds/SourceCodeUseThisOne.zip *
+ - name: Upload Source to release
+ uses: Shopify/upload-to-release@07611424e04f1475ddf550e1c0dd650b867d5467
+ with:
+ args: ../builds/SourceCodeUseThisOne.zip
+ name: SourceCodeUseThisOne.zip
+ path: ../builds/SourceCodeUseThisOne.zip
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
# Create Chrome artifacts
- name: Create Chrome artifacts