Skip to content

Commit

Permalink
testing other platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Oct 20, 2023
1 parent c341161 commit 3ecf726
Showing 1 changed file with 88 additions and 70 deletions.
158 changes: 88 additions & 70 deletions .github/workflows/upload-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: macos-latest

steps:
- name: Check out Git repository
- name: Check out
uses: actions/checkout@v4

- name: Install Node.js
Expand All @@ -34,125 +34,143 @@ jobs:
- name: Extract version
run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"

# - name: Upload the package to the release
# - name: Upload x64 mac dmg
# uses: shogo82148/actions-upload-release-asset@v1
# with:
# upload_url: ${{ github.event.release.upload_url }}
# asset_path: packages/bruno-electron/out/bruno_${VERSION}_x64_mac.dmg

# win-package:
# runs-on: windows-latest
# - name: Upload x64 mac zip
# uses: shogo82148/actions-upload-release-asset@v1
# with:
# upload_url: ${{ github.event.release.upload_url }}
# asset_path: packages/bruno-electron/out/bruno_${VERSION}_x64_mac.zip

# steps:
# - name: Check out Git repository
# uses: actions/checkout@v4
# - name: Upload arm64 mac dmg
# uses: shogo82148/actions-upload-release-asset@v1
# with:
# upload_url: ${{ github.event.release.upload_url }}
# asset_path: packages/bruno-electron/out/bruno_${VERSION}_arm64_mac.dmg

# - name: Install Node.js
# uses: actions/setup-node@v3
# with:
# node-version-file: '.nvmrc'
# - name: Upload arm64 mac zip
# uses: shogo82148/actions-upload-release-asset@v1
# with:
# upload_url: ${{ github.event.release.upload_url }}
# asset_path: packages/bruno-electron/out/bruno_${VERSION}_arm64_mac.zip

win-package:
runs-on: windows-latest

steps:
- name: Check out
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

# - name: Install dependencies
# run: npm ci --legacy-peer-deps
- name: Install dependencies
run: npm ci --legacy-peer-deps

# - name: Build Electron app
# run: npm run build:electron:win
- name: Build Electron app
run: npm run build:electron:win

# - name: List build
# run: ls -la packages/bruno-electron/out
- name: List build
run: ls -la packages/bruno-electron/out

# - name: Extract version
# run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"
- name: Extract version
run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"

# - name: Upload the package to the release
# uses: shogo82148/actions-upload-release-asset@v1
# with:
# upload_url: ${{ github.event.release.upload_url }}
# asset_path:

# linux-package:
# runs-on: ubuntu-latest
linux-package:
runs-on: ubuntu-latest

# steps:
# - name: Check out Git repository
# uses: actions/checkout@v4
steps:
- name: Check out
uses: actions/checkout@v4

# - name: Install Node.js
# uses: actions/setup-node@v3
# with:
# node-version-file: '.nvmrc'
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

# - name: Install dependencies
# run: npm ci --legacy-peer-deps
- name: Install dependencies
run: npm ci --legacy-peer-deps

# - name: Build Electron app
# run: npm run build:electron:linux
- name: Build Electron app
run: npm run build:electron:linux

# - name: List build
# run: ls -la packages/bruno-electron/out
- name: List build
run: ls -la packages/bruno-electron/out

# - name: Extract version
# run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"
- name: Extract version
run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"

# - name: Upload the package to the release
# uses: shogo82148/actions-upload-release-asset@v1
# with:
# upload_url: ${{ github.event.release.upload_url }}
# asset_path:

# deb-package:
# runs-on: ubuntu-latest
deb-package:
runs-on: ubuntu-latest

# steps:
# - name: Check out Git repository
# uses: actions/checkout@v4
steps:
- name: Check out
uses: actions/checkout@v4

# - name: Install Node.js
# uses: actions/setup-node@v3
# with:
# node-version-file: '.nvmrc'
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

# - name: Install dependencies
# run: npm ci --legacy-peer-deps
- name: Install dependencies
run: npm ci --legacy-peer-deps

# - name: Build Electron app
# run: npm run build:electron:deb
- name: Build Electron app
run: npm run build:electron:deb

# - name: List build
# run: ls -la packages/bruno-electron/out
- name: List build
run: ls -la packages/bruno-electron/out

# - name: Extract version
# run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"
- name: Extract version
run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"

# - name: Upload the package to the release
# uses: shogo82148/actions-upload-release-asset@v1
# with:
# upload_url: ${{ github.event.release.upload_url }}
# asset_path:

# rpm-package:
# runs-on: ubuntu-latest
rpm-package:
runs-on: ubuntu-latest

# steps:
# - name: Check out Git repository
# uses: actions/checkout@v4
steps:
- name: Check out
uses: actions/checkout@v4

# - name: Install Node.js
# uses: actions/setup-node@v3
# with:
# node-version-file: '.nvmrc'
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

# - name: Install dependencies
# run: npm ci --legacy-peer-deps
- name: Install dependencies
run: npm ci --legacy-peer-deps

# - name: Build Electron app
# run: npm run build:electron:rpm
- name: Build Electron app
run: npm run build:electron:rpm

# - name: List build
# run: ls -la packages/bruno-electron/out
- name: List build
run: ls -la packages/bruno-electron/out

# - name: Extract version
# run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"
- name: Extract version
run: jq -r '"VERSION=v\(.version)"' packages/bruno-electron/package.json >> "$GITHUB_ENV"

# - name: Upload the package to the release
# uses: shogo82148/actions-upload-release-asset@v1
Expand Down

0 comments on commit 3ecf726

Please sign in to comment.