You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by si...@apache.org on 2023/01/13 02:43:37 UTC
svn commit: r1906646 - /spamassassin/trunk/.github/actions/setup_ubuntu_for_sa_test/action.yml
Author: sidney
Date: Fri Jan 13 02:43:37 2023
New Revision: 1906646
URL: http://svn.apache.org/viewvc?rev=1906646&view=rev
Log:
Big 8056 - Fix problem with our setup of Ubuntu runner when apt repo has some newer entries than runner image
Modified:
spamassassin/trunk/.github/actions/setup_ubuntu_for_sa_test/action.yml
Modified: spamassassin/trunk/.github/actions/setup_ubuntu_for_sa_test/action.yml
URL: http://svn.apache.org/viewvc/spamassassin/trunk/.github/actions/setup_ubuntu_for_sa_test/action.yml?rev=1906646&r1=1906645&r2=1906646&view=diff
==============================================================================
--- spamassassin/trunk/.github/actions/setup_ubuntu_for_sa_test/action.yml (original)
+++ spamassassin/trunk/.github/actions/setup_ubuntu_for_sa_test/action.yml Fri Jan 13 02:43:37 2023
@@ -12,7 +12,9 @@ runs:
run: |
df -H .
rm -f ~/.bash_profile # github installs npm here and that messes up use of ~/.profile
- sudo apt-get purge -y '~ndotnet-'
+ sudo apt-get update
+ sudo apt-get autoremove -y '~ndotnet-'
+ sudo apt-get upgrade -y
sudo apt-get autoremove -y
sudo apt-get clean
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
@@ -22,8 +24,6 @@ runs:
- name: install required apt packages - perl ones get their prerequisites needed for plenv perl installs
run: |
- sudo apt-get update
- sudo apt-get upgrade -y
sudo apt-get install -y \
apt-utils \
build-essential \