Correct name and fix syntax error

This commit is contained in:
Nadia Holmquist Pedersen 2020-06-12 03:00:53 +02:00
parent 4ceb1a2f52
commit b05958a4c1
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
name: CMake Build (Ubuntu x86-64)
name: CMake Build (Ubuntu aarch64)
on:
push:
@ -22,7 +22,7 @@ jobs:
working-directory: ${{runner.workspace}}
run: |
sudo dpkg --add-architecture arm64 \
sudo sh -c "sed \"s|^deb \([a-z\.:/]*\) \([a-z\-]*\) \(.*\)$|deb [arch=amd64] \1 \2 \3\ndeb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports \2 \3|\" /etc/apt/sources.list > /etc/apt/sources.list.new" \
&& sudo sh -c "sed \"s|^deb \([a-z\.:/]*\) \([a-z\-]*\) \(.*\)$|deb [arch=amd64] \1 \2 \3\ndeb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports \2 \3|\" /etc/apt/sources.list > /etc/apt/sources.list.new" \
&& sudo rm /etc/apt/sources.list \
&& sudo mv /etc/apt/sources.list{.new,} \
&& sudo apt-get update \