Switch to actions/checkout@v2

As per GitHub recommendations
1164-fix
krzys-h 2020-07-09 18:56:08 +02:00
parent 03c60202b8
commit 76bb08779a
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ jobs:
- name: Install Colobot dependencies - name: Install Colobot dependencies
run: sudo apt-get install -y --no-install-recommends build-essential cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsndfile1-dev libvorbis-dev libogg-dev libpng-dev libglew-dev libopenal-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libphysfs-dev gettext git po4a vorbis-tools librsvg2-bin xmlstarlet run: sudo apt-get install -y --no-install-recommends build-essential cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsndfile1-dev libvorbis-dev libogg-dev libpng-dev libglew-dev libopenal-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libphysfs-dev gettext git po4a vorbis-tools librsvg2-bin xmlstarlet
if: matrix.container == '' if: matrix.container == ''
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Create build directory - name: Create build directory
run: cmake -E make_directory build run: cmake -E make_directory build
- name: Run CMake (for Windows using MXE) - name: Run CMake (for Windows using MXE)
@ -88,7 +88,7 @@ jobs:
steps: steps:
- name: Install Colobot dependencies - name: Install Colobot dependencies
run: sudo apt-get install -y --no-install-recommends build-essential cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsndfile1-dev libvorbis-dev libogg-dev libpng-dev libglew-dev libopenal-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libphysfs-dev gettext git po4a vorbis-tools librsvg2-bin xmlstarlet doxygen graphviz run: sudo apt-get install -y --no-install-recommends build-essential cmake libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsndfile1-dev libvorbis-dev libogg-dev libpng-dev libglew-dev libopenal-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev libphysfs-dev gettext git po4a vorbis-tools librsvg2-bin xmlstarlet doxygen graphviz
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Create build directory - name: Create build directory
run: cmake -E make_directory build run: cmake -E make_directory build
- name: Run CMake - name: Run CMake

View File

@ -32,7 +32,7 @@ jobs:
tar -zxf ./archive/build/html_report.tar.gz tar -zxf ./archive/build/html_report.tar.gz
# Clean up # Clean up
rm -r ./archive rm -r ./archive
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Create build directory - name: Create build directory
run: cmake -E make_directory build run: cmake -E make_directory build
- name: Run CMake - name: Run CMake