|
10 | 10 | runs-on: ${{ matrix.os }} |
11 | 11 | strategy: |
12 | 12 | matrix: |
13 | | - os: [ubuntu-20.04, windows-latest] |
| 13 | + os: [ubuntu-22.04, windows-latest] |
14 | 14 | include: |
15 | | - - os: ubuntu-20.04 |
| 15 | + - os: ubuntu-22.04 |
16 | 16 | target: x86_64-unknown-linux-gnu |
17 | 17 | target_alias: linux-x86_64 |
18 | 18 | bin_suffix: '' |
@@ -51,14 +51,14 @@ jobs: |
51 | 51 | mkdir encrypted-dns |
52 | 52 | cp target/release/encrypted-dns${{ matrix.bin_suffix }} encrypted-dns/ |
53 | 53 | cp README.md example-encrypted-dns.toml encrypted-dns/ |
54 | | - if [ "${{ matrix.os }}" = "ubuntu-20.04" ]; then |
| 54 | + if [ "${{ matrix.os }}" = "ubuntu-22.04" ]; then |
55 | 55 | tar cjpf ${ARCHIVE_PATH} encrypted-dns |
56 | 56 | elif [ "${{ matrix.os }}" = "windows-latest" ]; then |
57 | 57 | "/C/Program Files/7-Zip/7z" a ${ARCHIVE_PATH} encrypted-dns |
58 | 58 | fi |
59 | 59 |
|
60 | 60 | - name: Install cargo-deb and build Debian package |
61 | | - if: ${{ matrix.os == 'ubuntu-20.04' }} |
| 61 | + if: ${{ matrix.os == 'ubuntu-22.04' }} |
62 | 62 | run: | |
63 | 63 | cargo install cargo-deb |
64 | 64 | cargo deb --output=encrypted-dns_${{ github.ref_name }}_amd64.deb --no-build |
|
69 | 69 | path: ${{ env.ARCHIVE_PATH }} |
70 | 70 |
|
71 | 71 | - uses: actions/upload-artifact@v5 |
72 | | - if: ${{ matrix.os == 'ubuntu-20.04' }} |
| 72 | + if: ${{ matrix.os == 'ubuntu-22.04' }} |
73 | 73 | with: |
74 | 74 | name: encrypted-dns_deb-amd64 |
75 | 75 | path: encrypted-dns_${{ github.ref_name }}_amd64.deb |
|
78 | 78 | if: startsWith(github.ref, 'refs/tags/') |
79 | 79 | needs: |
80 | 80 | - build |
81 | | - runs-on: ubuntu-20.04 |
| 81 | + runs-on: ubuntu-22.04 |
82 | 82 |
|
83 | 83 | steps: |
84 | 84 | - uses: actions/download-artifact@v5 |
|
0 commit comments