|
4 | 4 | release:
|
5 | 5 | types: [created]
|
6 | 6 |
|
| 7 | +env: |
| 8 | + CARGO_TERM_COLOR: always |
| 9 | + |
7 | 10 | jobs:
|
| 11 | + # -------------------------------------------------------------------------- |
8 | 12 | # Linux
|
9 | 13 |
|
10 | 14 | armv7-unknown-linux-gnueabihf:
|
11 |
| - uses: ./.github/workflows/raspberry_package.yml |
12 |
| - with: |
13 |
| - target: armv7-unknown-linux-gnueabihf |
14 |
| - arch: armhf |
| 15 | + runs-on: ubuntu-22.04 |
| 16 | + steps: |
| 17 | + - uses: actions/checkout@v3 |
| 18 | + - uses: ./.github/actions/package-arm |
| 19 | + with: |
| 20 | + arch: armhf |
| 21 | + target: armv7-unknown-linux-gnueabihf |
| 22 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
15 | 23 |
|
16 | 24 | aarch64-unknown-linux-gnu:
|
17 |
| - uses: ./.github/workflows/raspberry_package.yml |
18 |
| - with: |
19 |
| - target: aarch64-unknown-linux-gnu |
20 |
| - arch: arm64 |
| 25 | + runs-on: ubuntu-22.04 |
| 26 | + steps: |
| 27 | + - uses: actions/checkout@v3 |
| 28 | + - uses: ./.github/actions/package-arm |
| 29 | + with: |
| 30 | + arch: arm64 |
| 31 | + target: aarch64-unknown-linux-gnu |
| 32 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
21 | 33 |
|
22 | 34 | x86_64-unknown-linux-gnu:
|
23 |
| - uses: ./.github/workflows/package.yml |
24 |
| - with: |
25 |
| - runs_on: ubuntu-20.04 |
26 |
| - target: x86_64-unknown-linux-gnu |
| 35 | + runs-on: ubuntu-22.04 |
| 36 | + steps: |
| 37 | + - uses: actions/checkout@v3 |
| 38 | + - uses: ./.github/actions/package |
| 39 | + with: |
| 40 | + runs_on: ubuntu-22.04 |
| 41 | + target: x86_64-unknown-linux-gnu |
| 42 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
27 | 43 |
|
28 | 44 | x86_64-unknown-linux-musl:
|
29 |
| - uses: ./.github/workflows/package.yml |
30 |
| - with: |
31 |
| - runs_on: ubuntu-20.04 |
32 |
| - target: x86_64-unknown-linux-musl |
| 45 | + runs-on: ubuntu-22.04 |
| 46 | + steps: |
| 47 | + - uses: actions/checkout@v3 |
| 48 | + - uses: ./.github/actions/package |
| 49 | + with: |
| 50 | + runs_on: ubuntu-22.04 |
| 51 | + target: x86_64-unknown-linux-musl |
| 52 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
33 | 53 |
|
| 54 | + # -------------------------------------------------------------------------- |
34 | 55 | # macOS
|
35 | 56 |
|
36 | 57 | aarch64-apple-darwin:
|
37 |
| - uses: ./.github/workflows/package.yml |
38 |
| - with: |
39 |
| - runs_on: macos-latest |
40 |
| - target: aarch64-apple-darwin |
| 58 | + runs-on: macos-12 |
| 59 | + steps: |
| 60 | + - uses: actions/checkout@v3 |
| 61 | + - uses: ./.github/actions/package |
| 62 | + with: |
| 63 | + runs_on: macos-12 |
| 64 | + target: aarch64-apple-darwin |
| 65 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
41 | 66 |
|
42 | 67 | x86_64-apple-darwin:
|
43 |
| - uses: ./.github/workflows/package.yml |
44 |
| - with: |
45 |
| - runs_on: macos-latest |
46 |
| - target: x86_64-apple-darwin |
| 68 | + runs-on: macos-12 |
| 69 | + steps: |
| 70 | + - uses: actions/checkout@v3 |
| 71 | + - uses: ./.github/actions/package |
| 72 | + with: |
| 73 | + runs_on: macos-12 |
| 74 | + target: x86_64-apple-darwin |
| 75 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
47 | 76 |
|
| 77 | + # -------------------------------------------------------------------------- |
48 | 78 | # Windows
|
49 | 79 |
|
50 | 80 | x86_64-pc-windows-msvc:
|
51 |
| - uses: ./.github/workflows/package.yml |
52 |
| - with: |
53 |
| - runs_on: windows-latest |
54 |
| - target: x86_64-pc-windows-msvc |
55 |
| - extension: .exe |
| 81 | + runs-on: windows-2022 |
| 82 | + steps: |
| 83 | + - uses: actions/checkout@v3 |
| 84 | + - uses: ./.github/actions/package |
| 85 | + with: |
| 86 | + runs_on: windows-2022 |
| 87 | + target: x86_64-pc-windows-msvc |
| 88 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments