mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix(e2e): move chromedriver logs to .tmp directory
- Configure chromedriver to write logs to .tmp/e2e-test-results/chromedriver.log - Add /logs to .gitignore to prevent tracking of chromedriver logs - Keeps build artifacts organized in .tmp directory structure fix(ci): update build output paths to use .tmp/app-builds consistently - Fix GitHub Actions workflows to use .tmp/app-builds instead of app-builds - Update manual-build.yml, build-create-windows-store-on-release.yml, build-publish-to-mac-store-on-release.yml, and build-publish-to-snap-on-release.yml - Ensures consistency with electron-builder.yaml output configuration - Resolves CI build failures due to mismatched directory paths
This commit is contained in:
parent
b429492e9c
commit
775b66f2eb
6 changed files with 14 additions and 9 deletions
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: WinStoreRelease
|
||||
path: app-builds/*.appx
|
||||
path: .tmp/app-builds/*.appx
|
||||
# - name: Upload to Microsoft Store
|
||||
# if: startsWith(github.ref, 'refs/tags/v')
|
||||
# uses: isaacrlevin/windows-store-action@1.0
|
||||
|
|
@ -89,5 +89,5 @@ jobs:
|
|||
# client-id: ${{ secrets.AZURE_AD_CLIENT_ID }}
|
||||
# client-secret: ${{ secrets.AZURE_AD_CLIENT_SECRET }}
|
||||
# app-id: ${{ secrets.MICROSOFT_STORE_APP_ID }}
|
||||
# package-path: 'app-builds/*.appx'
|
||||
# package-path: '.tmp/app-builds/*.appx'
|
||||
# skip-polling: false
|
||||
|
|
|
|||
|
|
@ -69,17 +69,17 @@ jobs:
|
|||
- name: Build Electron app
|
||||
run: npm run dist:mac:mas:buildOnly
|
||||
|
||||
- run: ls app-builds
|
||||
- run: ls .tmp/app-builds
|
||||
shell: bash
|
||||
|
||||
- name: Validate App
|
||||
run: ls app-builds; ls app-builds/mas-universal; xcrun altool --type macos --validate-app -f app-builds/mas-universal/super*.pkg -u ${{secrets.APPLE_ID}} -p ${{secrets.APPLE_APP_SPECIFIC_PASSWORD}}
|
||||
run: ls .tmp/app-builds; ls .tmp/app-builds/mas-universal; xcrun altool --type macos --validate-app -f .tmp/app-builds/mas-universal/super*.pkg -u ${{secrets.APPLE_ID}} -p ${{secrets.APPLE_APP_SPECIFIC_PASSWORD}}
|
||||
env:
|
||||
APPLE_ID: ${{secrets.APPLE_ID}}
|
||||
APPLE_APP_SPECIFIC_PASSWORD: ${{secrets.APPLE_APP_SPECIFIC_PASSWORD}}
|
||||
|
||||
- name: Push to Store
|
||||
run: xcrun altool --type macos --upload-app -f app-builds/mas-universal/super*.pkg -u ${{secrets.APPLE_ID}} -p ${{secrets.APPLE_APP_SPECIFIC_PASSWORD}}
|
||||
run: xcrun altool --type macos --upload-app -f .tmp/app-builds/mas-universal/super*.pkg -u ${{secrets.APPLE_ID}} -p ${{secrets.APPLE_APP_SPECIFIC_PASSWORD}}
|
||||
env:
|
||||
APPLE_ID: ${{secrets.APPLE_ID}}
|
||||
APPLE_APP_SPECIFIC_PASSWORD: ${{secrets.APPLE_APP_SPECIFIC_PASSWORD}}
|
||||
|
|
|
|||
|
|
@ -74,6 +74,6 @@ jobs:
|
|||
# env:
|
||||
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
|
||||
#
|
||||
# - run: snapcraft push app-builds/superProductivity*.snap --release stable
|
||||
# - run: snapcraft push .tmp/app-builds/superProductivity*.snap --release stable
|
||||
# env:
|
||||
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
|
||||
|
|
|
|||
4
.github/workflows/manual-build.yml
vendored
4
.github/workflows/manual-build.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: WinBuildStuff
|
||||
path: app-builds/*.exe
|
||||
path: .tmp/app-builds/*.exe
|
||||
|
||||
mac-bin:
|
||||
runs-on: macos-latest
|
||||
|
|
@ -153,4 +153,4 @@ jobs:
|
|||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dmg
|
||||
path: app-builds/*.dmg
|
||||
path: .tmp/app-builds/*.dmg
|
||||
|
|
|
|||
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -5,6 +5,7 @@
|
|||
/dist
|
||||
/app-builds
|
||||
/tmp
|
||||
/logs
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
|
|
@ -78,3 +79,7 @@ electron-builder.win-store.yaml
|
|||
/src/environments/environment.js
|
||||
/src/environments/environment.js.map
|
||||
/.claude/settings.local.json
|
||||
|
||||
#
|
||||
perf-metrics-create-tasks.json
|
||||
perf-metrics-initial-load.json
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ module.exports = {
|
|||
start_process: true,
|
||||
port: 9515,
|
||||
server_path: require('chromedriver').path,
|
||||
cli_args: [],
|
||||
cli_args: ['--log-path=./.tmp/e2e-test-results/chromedriver.log'],
|
||||
},
|
||||
|
||||
test_settings: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue