|
1 | | -name: Run source to binary mapping on boolean.py |
2 | | - |
3 | | -on: |
4 | | - workflow_dispatch: |
5 | | - pull_request: |
6 | | - push: |
7 | | - branches: |
8 | | - - main |
9 | | - |
10 | | -jobs: |
11 | | - build-python-wheel: |
12 | | - name: Build python wheel |
13 | | - runs-on: ubuntu-24.04 |
14 | | - permissions: |
15 | | - contents: read |
16 | | - |
17 | | - steps: |
18 | | - - name: Checkout repository |
19 | | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
20 | | - with: |
21 | | - repository: ${{ inputs.repository || github.repository }} |
22 | | - persist-credentials: false |
23 | | - |
24 | | - - name: Checkout the action from the current branch |
25 | | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
26 | | - with: |
27 | | - sparse-checkout: action.yml |
28 | | - sparse-checkout-cone-mode: false |
29 | | - path: scancode-action |
30 | | - persist-credentials: false |
31 | | - |
32 | | - - name: Set up Python |
33 | | - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
34 | | - with: |
35 | | - python-version: 3.12 |
36 | | - |
37 | | - - name: Install pypa/build and twine |
38 | | - run: python -m pip install --user --upgrade build twine packaging pip setuptools |
39 | | - |
40 | | - - name: Build a binary wheel |
41 | | - run: python -m build --wheel --outdir dist/ |
42 | | - |
43 | | - - name: Upload wheel |
44 | | - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 |
45 | | - with: |
46 | | - name: wheel_archives |
47 | | - path: dist/*.whl |
48 | | - |
49 | | - map-source-binary: |
50 | | - name: Generate source to binary mapping |
51 | | - needs: build-python-wheel |
52 | | - uses: ./.github/workflows/map-deploy-to-develop-template.yml |
53 | | - with: |
54 | | - artifact-name: wheel_archives |
55 | | - repository: bastikr/boolean.py |
56 | | - steps: "python" |
| 1 | +# Replace the whl build step by pre-built file |
| 2 | + |
| 3 | +#name: Run source to binary mapping on boolean.py |
| 4 | +# |
| 5 | +#on: |
| 6 | +# workflow_dispatch: |
| 7 | +# pull_request: |
| 8 | +# push: |
| 9 | +# branches: |
| 10 | +# - main |
| 11 | +# |
| 12 | +#jobs: |
| 13 | +# build-python-wheel: |
| 14 | +# name: Build python wheel |
| 15 | +# runs-on: ubuntu-24.04 |
| 16 | +# permissions: |
| 17 | +# contents: read |
| 18 | +# |
| 19 | +# steps: |
| 20 | +# - name: Checkout repository |
| 21 | +# uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 22 | +# with: |
| 23 | +# repository: ${{ inputs.repository || github.repository }} |
| 24 | +# persist-credentials: false |
| 25 | +# |
| 26 | +# - name: Checkout the action from the current branch |
| 27 | +# uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 28 | +# with: |
| 29 | +# sparse-checkout: action.yml |
| 30 | +# sparse-checkout-cone-mode: false |
| 31 | +# path: scancode-action |
| 32 | +# persist-credentials: false |
| 33 | +# |
| 34 | +# - name: Set up Python |
| 35 | +# uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 |
| 36 | +# with: |
| 37 | +# python-version: 3.12 |
| 38 | +# |
| 39 | +# - name: Install pypa/build and twine |
| 40 | +# run: python -m pip install --user --upgrade build twine packaging pip setuptools |
| 41 | +# |
| 42 | +# - name: Build a binary wheel |
| 43 | +# run: python -m build --wheel --outdir dist/ |
| 44 | +# |
| 45 | +# - name: Upload wheel |
| 46 | +# uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 |
| 47 | +# with: |
| 48 | +# name: wheel_archives |
| 49 | +# path: dist/*.whl |
| 50 | +# |
| 51 | +# map-source-binary: |
| 52 | +# name: Generate source to binary mapping |
| 53 | +# needs: build-python-wheel |
| 54 | +# uses: ./.github/workflows/map-deploy-to-develop-template.yml |
| 55 | +# with: |
| 56 | +# artifact-name: wheel_archives |
| 57 | +# repository: bastikr/boolean.py |
| 58 | +# steps: "python" |
0 commit comments