Skip to content

Commit

Permalink
use python 3.9 on windows runner (#49)
Browse files Browse the repository at this point in the history
* try to use python 3.9 on windows runner

* remove temporary `if: false` for jobs
  • Loading branch information
eymar authored Feb 10, 2024
1 parent fb0c14f commit b228d80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
default: 'false'

env:
version: m116-b54492e-2
version: m116-b54492e-3

jobs:
macos:
Expand Down Expand Up @@ -217,6 +217,9 @@ jobs:
steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- shell: bash
run: python3 script/check_release.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --target windows --machine ${{ matrix.machine }}
if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Prebuilt binaries can be found [in releases](https://github.com/JetBrains/skia-p
## Building locally

```sh
python3 script/checkout.py --version m116-b54492e-1
python3 script/checkout.py --version m116-b54492e-3
python3 script/build.py
python3 script/archive.py --version m116-b54492e-1
python3 script/archive.py --version m116-b54492e-3
```

To build a debug build:

```sh
python3 script/checkout.py --version m116-b54492e-1
python3 script/checkout.py --version m116-b54492e-3
python3 script/build.py --build-type Debug
python3 script/archive.py --version m116-b54492e-1 --build-type Debug
python3 script/archive.py --version m116-b54492e-3 --build-type Debug
```

0 comments on commit b228d80

Please sign in to comment.