diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef330c1..ab8a395 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,11 @@ jobs: run: | sudo apt-get install -y xvfb g++-multilib sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 & + - name: Prepare python3.10 + if: runner.os == 'macOS' + uses: actions/setup-python@v4 + with: + python-version: '3.10' - uses: actions/checkout@v2 - name: Setup node uses: actions/setup-node@v2 diff --git a/.releaserc.json b/.releaserc.json index 77b35d5..fc0cf21 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -8,7 +8,7 @@ "assets": ["CHANGELOG.md", "package.json"] }], ["@semantic-release/exec", { - "publishCmd": "brew install rpm@4.17.0 && brew install dpkg && brew install jq && brew install xz && npm run build -- --linux --win --mac && cd dist/win-unpacked && mkdir data && cd .. && zip -vr rats-search-`node -p \"require('../package.json').version\"`-portable.win.x64.zip win-unpacked/ && cd win-ia32-unpacked && mkdir data && cd .. && zip -vr rats-search-`node -p \"require('../package.json').version\"`-portable.win.win32.zip win-ia32-unpacked/" + "publishCmd": "brew tap-new $USER/rpm && brew extract --version=4.17.0 rpm $USER/rpm && brew install $USER/rpm/rpm@4.17.0 && brew install dpkg && brew install jq && brew install xz && npm run build -- --linux --win --mac && cd dist/win-unpacked && mkdir data && cd .. && zip -vr rats-search-`node -p \"require('../package.json').version\"`-portable.win.x64.zip win-unpacked/ && cd win-ia32-unpacked && mkdir data && cd .. && zip -vr rats-search-`node -p \"require('../package.json').version\"`-portable.win.win32.zip win-ia32-unpacked/" }], "@semantic-release/github" ],