]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - .github/workflows/release.yml
upgrade puppeteer to v22
[nominatim-ui.git] / .github / workflows / release.yml
index 1850544cd62b10fd9f22162025864cd7ebeeb7bc..a239e48d7a1c96e351830a4bb65bcca269d9c82a 100644 (file)
@@ -10,11 +10,11 @@ jobs:
     name: Build
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
-      - uses: actions/setup-node@v2
+      - uses: actions/setup-node@v3
         with:
-          node-version: '10.x'
+          node-version: '16.x'
 
       - name: Install dependencies
         run: yarn install
@@ -24,7 +24,7 @@ jobs:
           yarn build
           export VERSION=${GITREF/*v/}
           mkdir nominatim-ui-${VERSION}
-          mv dist LICENSE README.md nominatim-ui-${VERSION}/
+          mv dist LICENSE README.md screenshot.png nominatim-ui-${VERSION}/
           mkdir artifacts
           tar czf artifacts/nominatim-ui-${VERSION}.tar.gz nominatim-ui-${VERSION}
           zip -qr artifacts/nominatim-ui-${VERSION}.zip nominatim-ui-${VERSION}
@@ -33,7 +33,6 @@ jobs:
           GITREF: ${{ github.ref }}
 
 
-      - uses: AButler/upload-release-assets@v2.0
+      - uses: softprops/action-gh-release@v1
         with:
           files: 'artifacts/*'
-          repo-token: ${{ secrets.GITHUB_TOKEN }}