forked from notion-enhancer/notion-repackaged
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
978ef1d
commit 2107b5d
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,7 +77,7 @@ jobs: | |
working-directory: build | ||
run: 7z a vanilla-src.zip vanilla-src | ||
- name: Save vanilla sources as artifact | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: vanilla-sources | ||
path: build/vanilla-src.zip | ||
|
@@ -93,7 +93,7 @@ jobs: | |
- name: Force to use HTTPS instead of SSH | ||
run: git config --global url."https://github.com/".insteadOf "[email protected]:" | ||
- name: Retrieve saved vanilla sources | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: vanilla-sources | ||
path: build/vanilla-src.zip | ||
|
@@ -108,7 +108,7 @@ jobs: | |
working-directory: build | ||
run: 7z a enhanced-src.zip enhanced-src | ||
- name: Save enhanced sources as artifact | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: enhanced-sources | ||
path: build/enhanced-src.zip | ||
|
@@ -142,15 +142,21 @@ jobs: | |
with: | ||
node-version: 16 | ||
- name: Retrieve saved sources | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: ${{ matrix.edition }}-sources | ||
path: sources.zip | ||
- name: Unzip sources with 7z | ||
run: 7z x sources.zip | ||
- name: Install Linux build dependencies | ||
if: matrix.os == 'ubuntu-latest' | ||
run: sudo apt-get install --no-install-recommends -y libopenjp2-tools rpm libarchive-tools | ||
run: sudo apt-get install --no-install-recommends -y libopenjp2-tools rpm libarchive-tools dos2unix | ||
- name: Remove postinstall | ||
working-directory: ${{ matrix.edition }}-src | ||
run: | | ||
patchfile="../patches/remove-postinstall.patch" | ||
dos2unix "$patchfile" | ||
patch -p0 --binary -N -r- < "$patchfile" | ||
- name: Install dependencies | ||
working-directory: ${{ matrix.edition }}-src | ||
run: npm install | ||
|