diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..73f11c1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly" \ No newline at end of file diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 2ab02e2..7514fd7 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -27,21 +27,21 @@ jobs: VCPKG_ROOT: ${{ github.workspace }}/vcpkg steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true - uses: lukka/get-cmake@latest - name: Clone vcpkg - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: microsoft/vcpkg path: ${{ env.VCPKG_ROOT }} submodules: true - name: Restore vcpkg and its artifacts - uses: actions/cache@v2 + uses: actions/cache@v4 with: # The first path is where vcpkg generates artifacts while consuming the vcpkg.json manifest file. # The second path is the location of vcpkg (it contains the vcpkg executable and data files). @@ -73,7 +73,7 @@ jobs: run: cmake --build "${{env.CMAKE_BUILD_DIR}}" --config Release --target "${{ matrix.target }}" -j 6 -- - name: Upload a build artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: # Artifact name name: slimevr-openvr-driver-${{ matrix.triplet }} # optional, default is artifact @@ -88,7 +88,7 @@ jobs: run: cmake -E tar "cf" "${{env.CMAKE_BUILD_DIR}}/slimevr-openvr-driver-${{ matrix.triplet }}.zip" --format=zip -- ${{env.CMAKE_BUILD_DIR}}/${{ matrix.release_dir }}/slimevr - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: "${{env.CMAKE_BUILD_DIR}}/slimevr-openvr-driver-${{ matrix.triplet }}.zip"