diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 6a87e96..b4d055f 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -21,11 +21,11 @@ jobs: os: [ macos-latest, ubuntu-latest, windows-latest ] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up node / npm with caching - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' cache-dependency-path: | package-lock.json @@ -51,7 +51,7 @@ jobs: - name: Pack setup run: tar cf setup.tar * - name: Store setup (as artifact) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: setup-${{ matrix.os }} retention-days: 1 @@ -63,7 +63,7 @@ jobs: needs: [setup] steps: - name: Download setup (from artifact) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: setup-ubuntu-latest - name: Unpack setup @@ -88,7 +88,7 @@ jobs: needs: [setup] steps: - name: Download setup (from artifact) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: setup-${{ matrix.os }} - name: Unpack setup @@ -111,7 +111,7 @@ jobs: key: ${{ secrets.SSH_KEY }} known_hosts: ${{ secrets.KNOWN_HOSTS }} - name: Download setup (from artifact) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: setup-ubuntu-latest - name: Unpack setup diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 33daffd..e4863f0 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -21,11 +21,11 @@ jobs: os: [ macos-latest, ubuntu-latest, windows-latest ] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up node / npm with caching - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' cache: 'npm' cache-dependency-path: | package-lock.json @@ -51,7 +51,7 @@ jobs: - name: Pack setup run: tar cf setup.tar * - name: Store setup (as artifact) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: setup-${{ matrix.os }} retention-days: 1 @@ -63,7 +63,7 @@ jobs: needs: [setup] steps: - name: Download setup (from artifact) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: setup-ubuntu-latest - name: Unpack setup @@ -88,7 +88,7 @@ jobs: needs: [setup] steps: - name: Download setup (from artifact) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: setup-${{ matrix.os }} - name: Unpack setup @@ -96,7 +96,7 @@ jobs: - name: Build Electron app run: npm run client:build:electron - name: Store installers as artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Installer ${{ runner.os }} path: client/release/build/structure-* @@ -115,7 +115,7 @@ jobs: key: ${{ secrets.SSH_KEY }} known_hosts: ${{ secrets.KNOWN_HOSTS }} - name: Download setup (from artifact) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: setup-ubuntu-latest - name: Unpack setup