diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index cb83f48..607686a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,40 +16,40 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build --if-present - run: npm run test --if-present - name: 'Upload Artifact Windows' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'Binary Windows' path: bin/mcsleepingserverstarter-win-x64.exe - name: 'Upload Artifact Linux' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'Binary Linux' path: bin/mcsleepingserverstarter-linux-x64 - name: 'Upload Artifact Linux arm64' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'Binary Linux arm64 (Raspberry Pi)' path: bin/mcsleepingserverstarter-linux-arm64 - name: 'Upload Artifact MacOS (Apple Silicon)' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'Binary MacOS (Apple Silicon)' path: bin/mcsleepingserverstarter-macos-arm64 - name: 'Upload Artifact MacOS (Intel)' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'Binary MacOS (Intel)' path: bin/mcsleepingserverstarter-macos-x64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6f1e34..87fca5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,19 +18,19 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build --if-present - run: npm run test --if-present - name: Save executables - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bin path: ./bin @@ -40,9 +40,9 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Retrieve saved executables - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bin path: ./bin @@ -56,9 +56,9 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Retrieve saved executables - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: bin path: ./bin