]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Update github actions to latest versions
authorPierre Ossman <ossman@cendio.se>
Mon, 5 Feb 2024 15:34:47 +0000 (16:34 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 5 Feb 2024 15:34:47 +0000 (16:34 +0100)
Primarily to avoid the versions that are now deprecated, but also update
actions/upload-artifact to keep us up to date.

.github/workflows/deploy.yml
.github/workflows/lint.yml
.github/workflows/test.yml
.github/workflows/translate.yml

index 84e634d2f45cb63a85e16121915cdce0b85422a2..a11d3d0a5c804738df3cdd0bbe9f451495b58451 100644 (file)
@@ -10,18 +10,18 @@ jobs:
   npm:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - run: |
           GITREV=$(git rev-parse --short HEAD)
           echo $GITREV
           sed -i "s/^\(.*\"version\".*\)\"\([^\"]\+\)\"\(.*\)\$/\1\"\2-g$GITREV\"\3/" package.json
         if: github.event_name != 'release'
-      - uses: actions/setup-node@v3
+      - uses: actions/setup-node@v4
         with:
           # Needs to be explicitly specified for auth to work
           registry-url: 'https://registry.npmjs.org'
       - run: npm install
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
           name: npm
           path: lib
@@ -49,7 +49,7 @@ jobs:
   snap:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
       - run: |
           GITREV=$(git rev-parse --short HEAD)
           echo $GITREV
@@ -61,7 +61,7 @@ jobs:
           sed -i "s/^version:.*/version: '$VERSION'/" snap/snapcraft.yaml
       - uses: snapcore/action-build@v1
         id: snapcraft
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
           name: snap
           path: ${{ steps.snapcraft.outputs.snap }}
index 7cd5b21568ee6eee44de6745266671c545ce0007..540bb99079968c874ad7c4f168bce44e07862727 100644 (file)
@@ -6,14 +6,14 @@ jobs:
   eslint:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
-      - uses: actions/setup-node@v3
+      - uses: actions/checkout@v4
+      - uses: actions/setup-node@v4
       - run: npm update
       - run: npm run lint
   html:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
-      - uses: actions/setup-node@v3
+      - uses: actions/checkout@v4
+      - uses: actions/setup-node@v4
       - run: npm update
       - run: git ls-tree --name-only -r HEAD | grep -E "[.](html|css)$" | xargs ./utils/validate
index 1bc1728a3a555f4e49eeab27cb710d0a22025a71..b72195b52de038160ba92c3282105935d168444a 100644 (file)
@@ -20,8 +20,8 @@ jobs:
       fail-fast: false
     runs-on: ${{ matrix.os }}
     steps:
-      - uses: actions/checkout@v3
-      - uses: actions/setup-node@v3
+      - uses: actions/checkout@v4
+      - uses: actions/setup-node@v4
       - run: npm update
       - run: npm run test
         env:
index ea6e6bb36b5f6061bd5ee17d431790717074c5e1..a4da9cbfa3c0fea0bee65e825c8f173a692ea185 100644 (file)
@@ -6,8 +6,8 @@ jobs:
   translate:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
-      - uses: actions/setup-node@v3
+      - uses: actions/checkout@v4
+      - uses: actions/setup-node@v4
       - run: npm update
       - run: sudo apt-get install gettext
       - run: make -C po update-pot