Bump electron from 20.2.0 to 27.1.3 (#779) #455
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
on: | |
push: | |
branches: [master, main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build_windows: | |
runs-on: windows-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: npm version --no-git-tag-version patch | |
- run: yarn install --network-timeout 1000000 --frozen-lockfile | |
- run: yarn test-ci | |
- run: yarn build | |
- run: yarn dist | |
- run: mv ./dist/sqlui-native*.exe ./dist/sqlui-native.exe | |
- name: Upload artifact .exe | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sqlui-native.exe | |
path: ./dist/sqlui-native.exe | |
build_macos: | |
runs-on: macos-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: npm version --no-git-tag-version patch | |
- run: yarn install --network-timeout 1000000 --frozen-lockfile | |
- run: yarn test-ci | |
- run: yarn build | |
- run: yarn dist | |
- run: mv ./dist/sqlui-native*.dmg ./dist/sqlui-native.dmg | |
- name: Upload artifact .dmg | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sqlui-native.dmg | |
path: ./dist/sqlui-native.dmg | |
build_linux: | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
steps: | |
- name: install missing dependencies | |
run: sudo apt-get install -y libarchive-tools | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: npm version --no-git-tag-version patch | |
- run: yarn install --network-timeout 1000000 --frozen-lockfile | |
- run: yarn test-ci | |
- run: yarn build | |
- run: yarn dist | |
- run: | | |
mv ./dist/sqlui-native*.deb ./dist/sqlui-native.deb | |
mv ./dist/sqlui-native*.rpm ./dist/sqlui-native.rpm | |
mv ./dist/sqlui-native*.snap ./dist/sqlui-native.snap | |
mv ./dist/sqlui-native*.pacman ./dist/sqlui-native.pacman | |
- name: Upload artifact .deb | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sqlui-native.deb | |
path: ./dist/sqlui-native.deb | |
- name: Upload artifact .rpm | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sqlui-native.rpm | |
path: ./dist/sqlui-native.rpm | |
- name: Upload artifact .snap | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sqlui-native.snap | |
path: ./dist/sqlui-native.snap | |
- name: Upload artifact .pacman | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sqlui-native.pacman | |
path: ./dist/sqlui-native.pacman |