Skip to content

Commit

Permalink
Update check-commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta committed Sep 10, 2024
1 parent 13a9109 commit 0e004e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,12 @@ jobs:
- name: Add Ubuntu Jammy PPA
run: sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu jammy main universe'

- name: Pin the Ubuntu Jammy packages and update
run: echo -e 'Package: *\nPin: release a=jammy\nPin-Priority: 100' | sudo tee /etc/apt/preferences.d/pin-jammy
run: |
sudo tee /etc/apt/preferences.d/pin-jammy <<EOF
Package: *
Pin: release a=jammy
Pin-Priority: 100
EOF
- name: Update apt after adding Jammy repository
run: sudo apt-get update
Expand Down

0 comments on commit 0e004e1

Please sign in to comment.