diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 75439e13..fa66c771 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -99,7 +99,7 @@ jobs: path: dist-linux.tar build-windows: - runs-on: windows-2022 + runs-on: windows-2019 defaults: run: shell: bash @@ -114,9 +114,7 @@ jobs: uses: actions/checkout@v2 - name: Setup Books - run: | - yarn set version 1.22.18 - yarn + run: yarn - name: Set Error Log Creds env: @@ -135,9 +133,7 @@ jobs: WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }} WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }} GH_TOKEN: ${{ secrets.GH_TOKEN }} - run: | - yarn set version 1.22.18 - yarn electron:build --win --publish always + run: yarn electron:build --win --publish always - name: Tar files run: tar -cvf dist-windows.tar dist_electron diff --git a/package.json b/package.json index 2a78fcae..57a13c5c 100644 --- a/package.json +++ b/package.json @@ -73,8 +73,7 @@ }, "engineStrict": true, "engines": { - "node": ">=16.13.1 <17", - "yarn": "1.22.18" + "node": ">=16.13.1 <17" }, "gitHooks": { "pre-commit": "lint-staged"