Skip to content

Commit

Permalink
Update to Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
MNikoliCC committed Dec 4, 2024
1 parent f0d44c1 commit b20e51a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/snap-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
branch: [master, develop]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install Snapcraft
Expand All @@ -31,7 +31,6 @@ jobs:
run: |
sudo apt install --yes git
sudo snap install snapcraft --classic
export ROS_DISTRO=noetic
git clone --recurse-submodules --depth 3 --single-branch --branch ${{ matrix.branch }} https://github.com/cyberbotics/webots.git
export WEBOTS_VERSION=$(cat webots/scripts/packaging/webots_version.txt | sed 's/ revision /-rev/g')
sed -i "s/version:\s*'R[0-9]\{4\}[a-z].*'/version: '$WEBOTS_VERSION'/g" snapcraft.yaml
Expand Down Expand Up @@ -64,7 +63,7 @@ jobs:
webots/scripts/packaging/publish_release.py --key=${{ secrets.BOT_ACTION_KEY }} --repo=cyberbotics/webots --commit=$COMMIT_ID
release-tag:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Install Snapcraft
Expand Down

0 comments on commit b20e51a

Please sign in to comment.