run apt-get update first

This commit is contained in:
eyedeekay
2024-02-19 16:08:46 -05:00
parent 6f14dc1a3a
commit c76541979a

View File

@@ -15,6 +15,7 @@ jobs:
with: with:
distribution: Ubuntu-20.04 distribution: Ubuntu-20.04
- run: | - run: |
apt-get update
apt-get install nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg apt-get install nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up JDK 21 - name: Set up JDK 21
@@ -74,6 +75,7 @@ jobs:
with: with:
distribution: Ubuntu-20.04 distribution: Ubuntu-20.04
- run: | - run: |
apt-get update
apt-get install nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg apt-get install nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up JDK 21 - name: Set up JDK 21
@@ -99,6 +101,7 @@ jobs:
java-version: '21' java-version: '21'
distribution: 'temurin' distribution: 'temurin'
- run: | - run: |
sudo apt-get update
sudo apt-get install nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg sudo apt-get install nsis nsis-common nsis-pluginapi wget dos2unix curl jq gpg
- name: build with script - name: build with script
run: bash -c "./buildscripts/targz.sh; ls *.tar.gz *.tgz" run: bash -c "./buildscripts/targz.sh; ls *.tar.gz *.tgz"