Skip to content

Commit

Permalink
Patch
Browse files Browse the repository at this point in the history
  • Loading branch information
aokellermann committed Oct 14, 2023
1 parent 978ef1d commit 2107b5d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/notion-repackaged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2107b5d

Please sign in to comment.