|
9 | 9 | type: string # [Windows, macOS, Linux]
|
10 | 10 |
|
11 | 11 | jobs:
|
12 |
| - prepare: |
13 |
| - runs-on: ["${{ inputs.runner }}"] |
14 |
| - steps: |
15 |
| - - name: Fix Timezone on Windows |
16 |
| - if: runner.os == 'Windows' |
17 |
| - run: echo "This is windows, so timezone will be fixed." && tzutil /s "W. Europe Standard Time" |
18 |
| - - name: Remove dist/ on macOS ARM |
19 |
| - if: runner.os == 'macOS' && runner.arch == 'ARM64' |
20 |
| - run: echo "Running macOS ARM64" && node -v && node -p "process.arch" && rm -rf dist |
21 |
| - - name: Install libudev on Linux (Ubuntu) |
22 |
| - if: runner.os == 'Linux' |
23 |
| - run: sudo apt-get update && sudo apt-get install libudev-dev |
| 12 | + # prepare: |
| 13 | + # runs-on: ["${{ inputs.runner }}"] |
| 14 | + # steps: |
| 15 | + # - name: Fix Timezone on Windows |
| 16 | + # if: runner.os == 'Windows' |
| 17 | + # run: echo "This is windows, so timezone will be fixed." && tzutil /s "W. Europe Standard Time" |
| 18 | + # - name: Remove dist/ on macOS ARM |
| 19 | + # if: runner.os == 'macOS' && runner.arch == 'ARM64' |
| 20 | + # run: echo "Running macOS ARM64" && node -v && node -p "process.arch" && rm -rf dist |
| 21 | + # - name: Install libudev on Linux (Ubuntu) |
| 22 | + # if: runner.os == 'Linux' |
| 23 | + # run: sudo apt-get update && sudo apt-get install libudev-dev |
24 | 24 | build:
|
25 | 25 | runs-on: ["${{ inputs.runner }}"]
|
26 | 26 | steps:
|
|
44 | 44 | path: dist/
|
45 | 45 | package:
|
46 | 46 | runs-on: ["${{ inputs.runner }}"]
|
| 47 | + needs: [ build ] |
47 | 48 | steps:
|
48 | 49 | - name: 'Download artifacts "build_${{ inputs.runner }}"'
|
49 | 50 | uses: actions/download-artifact@v3
|
|
0 commit comments