]> source.dussan.org Git - tigervnc.git/commitdiff
Update github actions to latest versions
authorPierre Ossman <ossman@cendio.se>
Tue, 2 Apr 2024 12:13:46 +0000 (14:13 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 2 Apr 2024 12:13:46 +0000 (14:13 +0200)
Primarily to avoid the versions that are now deprecated.

.github/workflows/build.yml

index a34badb764388a57a589a602313cc8596a8499b2..f41f7791ec9d22ef6f2f943ea5533ca6f82d51f4 100644 (file)
@@ -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