Skip to content

Commit d8d27bd

Browse files
committed
Update Ubuntu version
1 parent 999ab7e commit d8d27bd

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
os: [ubuntu-20.04, windows-latest]
13+
os: [ubuntu-22.04, windows-latest]
1414
include:
15-
- os: ubuntu-20.04
15+
- os: ubuntu-22.04
1616
target: x86_64-unknown-linux-gnu
1717
target_alias: linux-x86_64
1818
bin_suffix: ''
@@ -51,14 +51,14 @@ jobs:
5151
mkdir encrypted-dns
5252
cp target/release/encrypted-dns${{ matrix.bin_suffix }} encrypted-dns/
5353
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
5555
tar cjpf ${ARCHIVE_PATH} encrypted-dns
5656
elif [ "${{ matrix.os }}" = "windows-latest" ]; then
5757
"/C/Program Files/7-Zip/7z" a ${ARCHIVE_PATH} encrypted-dns
5858
fi
5959
6060
- name: Install cargo-deb and build Debian package
61-
if: ${{ matrix.os == 'ubuntu-20.04' }}
61+
if: ${{ matrix.os == 'ubuntu-22.04' }}
6262
run: |
6363
cargo install cargo-deb
6464
cargo deb --output=encrypted-dns_${{ github.ref_name }}_amd64.deb --no-build
@@ -69,7 +69,7 @@ jobs:
6969
path: ${{ env.ARCHIVE_PATH }}
7070

7171
- uses: actions/upload-artifact@v5
72-
if: ${{ matrix.os == 'ubuntu-20.04' }}
72+
if: ${{ matrix.os == 'ubuntu-22.04' }}
7373
with:
7474
name: encrypted-dns_deb-amd64
7575
path: encrypted-dns_${{ github.ref_name }}_amd64.deb
@@ -78,7 +78,7 @@ jobs:
7878
if: startsWith(github.ref, 'refs/tags/')
7979
needs:
8080
- build
81-
runs-on: ubuntu-20.04
81+
runs-on: ubuntu-22.04
8282

8383
steps:
8484
- uses: actions/download-artifact@v5

0 commit comments

Comments
 (0)