From acbacf9aa0edace3a1b2c80622ef2f40079f5cd5 Mon Sep 17 00:00:00 2001 From: Paul Kendall Date: Sun, 10 Sep 2023 21:03:22 +1200 Subject: [PATCH] Updates to actions --- .github/workflows/build.yml | 6 +++--- .github/workflows/web.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6f7a1f..ac2798c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: runs-on: windows-2019 steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Add msbuild to PATH uses: ilammy/msvc-dev-cmd@v1 @@ -33,7 +33,7 @@ jobs: runs-on: macos-11 steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Compile a release run: | @@ -51,7 +51,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Compile a release run: | diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index adea065..d0d6a89 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -24,7 +24,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: npm install && npm run dist - name: Get supported target version artifacts @@ -35,13 +35,13 @@ jobs: sed -i~ "s/@GITHASH@/$GITHASH/" index.html - name: Setup Pages if: ${{ github.ref == 'refs/heads/master' }} - uses: actions/configure-pages@v1 + uses: actions/configure-pages@v3 - name: Configure page artifact if: ${{ github.ref == 'refs/heads/master' }} run: mv dist _site - name: Upload artifact if: ${{ github.ref == 'refs/heads/master' }} - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 deploy: if: ${{ github.ref == 'refs/heads/master' }}