From 9d70f6bf10e4789db0951cce2861620a0a044864 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 2 Apr 2024 14:13:46 +0200 Subject: [PATCH] Update github actions to latest versions Primarily to avoid the versions that are now deprecated. --- .github/workflows/build.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a34badb7..f41f7791 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | sudo apt-get update @@ -23,7 +23,7 @@ jobs: - name: Install working-directory: build run: make tarball - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: Linux (Ubuntu) path: build/tigervnc-*.tar.gz @@ -35,7 +35,7 @@ jobs: run: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: msys2/setup-msys2@v2 - name: Install dependencies run: | @@ -55,7 +55,7 @@ jobs: env: MSYS2_PATH_TYPE: inherit run: make installer winvnc_installer - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: Windows path: build/release/tigervnc*.exe @@ -64,7 +64,7 @@ jobs: runs-on: macos-latest timeout-minutes: 20 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | brew install fltk pixman ffmpeg @@ -77,7 +77,7 @@ jobs: - name: Install working-directory: build run: make dmg - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: macOS path: build/TigerVNC-*.dmg @@ -89,9 +89,9 @@ jobs: matrix: java: [ '8', '11', '16' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.java }} @@ -101,7 +101,7 @@ jobs: - name: Build working-directory: java/build run: make - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: Java (${{ matrix.java }}) path: java/build/VncViewer.jar @@ -122,12 +122,12 @@ jobs: env: DOCKER: ${{ matrix.target }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build image run: docker build -t tigervnc/$DOCKER .github/containers/$DOCKER - name: Build packages run: .github/containers/$DOCKER/build.sh - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: Packages (${{ matrix.target }}) path: .github/containers/${{ matrix.target }}/result -- 2.39.5