Skip to content

Commit

Permalink
skip e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
alphabiz-se4 committed Sep 13, 2024
1 parent 794327e commit 3857f61
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ jobs:
fi
shell: bash

- uses: actions/setup-python@v5
if: runner.os == 'macOS'
with:
python-version: '3.8'

- name: Setup Node.js ${{ matrix.node-version }} 📮
uses: actions/setup-node@v3
with:
Expand All @@ -134,7 +139,7 @@ jobs:
echo "package=${{ steps.slug.outputs.display-name }}-linux-x64" >> $GITHUB_OUTPUT ; \
elif [[ ${{ matrix.os }} = "macos-latest" ]] ; \
then echo "system=macos" >> $GITHUB_OUTPUT ; \
echo "package=${{ steps.slug.outputs.display-name }}-darwin-x64" >> $GITHUB_OUTPUT ; \
echo "package=${{ steps.slug.outputs.display-name }}-darwin-arm64" >> $GITHUB_OUTPUT ; \
elif [[ ${{ matrix.os }} = "windows-latest" ]] ; \
then echo "system=windows" >> $GITHUB_OUTPUT ; \
echo "package=${{ steps.slug.outputs.display-name }}-win32-x64" >> $GITHUB_OUTPUT ; \
Expand Down Expand Up @@ -310,12 +315,12 @@ jobs:
Set-DisplayResolution -Width 1920 -Height 1080 -Force
shell: powershell

- name: screen resolution(For Mac)
if: runner.os == 'macOS'
run: |
system_profiler SPDisplaysDataType | grep Resolution
"/Library/Application Support/VMware Tools/vmware-resolutionSet" 2560 1440
system_profiler SPDisplaysDataType | grep Resolution
# - name: screen resolution(For Mac)
# if: runner.os == 'macOS'
# run: |
# system_profiler SPDisplaysDataType | grep Resolution
# "/Library/Application Support/VMware Tools/vmware-resolutionSet" 2560 1440
# system_profiler SPDisplaysDataType | grep Resolution

- name: main E2E Test for Electron 🧪
if: "!contains(github.event.head_commit.message, 'skip e2e')"
Expand Down Expand Up @@ -486,7 +491,14 @@ jobs:
xcrun notarytool submit "$SIGNED_DMG" -v --apple-id "$APPLE_ID" --password "$APPLE_ASP" --team-id "$APPLE_TEAM_ID" -f json --wait
xcrun stapler staple "$SIGNED_DMG"
echo "Finish notarizing dmg"
- name: check
if: runner.os == 'macOS'
run: |
ls
echo "------------------------"
ls ./dist/electron
- name: Package for ${{ steps.vars.outputs.system }}-${{ steps.unify.outputs.tag-name }} Release 🗜️
if: contains(steps.vars.outputs.event-name, 'schedule') || contains(env.MODIFIED_FILE_LIST, 'release.json')
run: 7z a -t7z -mx=9 "./out/installers/${{ steps.unify.outputs.tag-name }}/${{ steps.slug.outputs.file-name-lower }}-${{ steps.unify.outputs.package-name }}-${{ steps.vars.outputs.system }}.7z" "./dist/electron/${{ steps.vars.outputs.package }}"
Expand Down
2 changes: 1 addition & 1 deletion release.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"targetTagName": "main",
"newTagName": "0.3.2"
"newTagName": "0.3.3"
}

0 comments on commit 3857f61

Please sign in to comment.