ci: use v3 actions

This commit is contained in:
Nikhil Narayana 2023-08-11 18:36:53 -07:00
commit 2ca79d3772
No known key found for this signature in database
GPG key ID: 1B34839FA8D6245E

View file

@ -32,7 +32,7 @@ jobs:
# runs-on: windows-2019 # runs-on: windows-2019
# steps: # steps:
# - name: "Checkout" # - name: "Checkout"
# uses: actions/checkout@v2 # uses: actions/checkout@v3
# with: # with:
# submodules: recursive # submodules: recursive
# # - name: "Remove Redistributable" # # - name: "Remove Redistributable"
@ -44,7 +44,7 @@ jobs:
# # - name: "Setup MSBuild" # # - name: "Setup MSBuild"
# # uses: microsoft/setup-msbuild@v1 # # uses: microsoft/setup-msbuild@v1
# # - name: Cache DXSDK_Jun10.exe # # - name: Cache DXSDK_Jun10.exe
# # uses: actions/cache@v2 # # uses: actions/cache@v3
# # with: # # with:
# # path: ./Tools/DX/ # # path: ./Tools/DX/
# # key: ${{ runner.os }} # # key: ${{ runner.os }}
@ -102,7 +102,7 @@ jobs:
# move $FILE_NAME ..\..\artifact\ # move $FILE_NAME ..\..\artifact\
# - name: "Publish" # - name: "Publish"
# if: success() # if: success()
# uses: actions/upload-artifact@v2-preview # uses: actions/upload-artifact@v3
# with: # with:
# name: ${{ matrix.artifact_name }} # name: ${{ matrix.artifact_name }}
# path: "./artifact/" # path: "./artifact/"
@ -122,7 +122,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: 'Fetch Git Tags' - name: 'Fetch Git Tags'
@ -201,7 +201,7 @@ jobs:
mv "${FILE_NAME}" ./artifact/ mv "${FILE_NAME}" ./artifact/
- name: "Publish" - name: "Publish"
if: success() if: success()
uses: actions/upload-artifact@v2-preview uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.artifact_name }} name: ${{ matrix.artifact_name }}
path: "./artifact/" path: "./artifact/"
@ -221,7 +221,7 @@ jobs:
runs-on: macos-11 runs-on: macos-11
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: 'Fetch Git Tags' - name: 'Fetch Git Tags'
@ -274,7 +274,7 @@ jobs:
mv "${FILE_NAME}" ../../artifact/ mv "${FILE_NAME}" ../../artifact/
- name: "Publish" - name: "Publish"
if: success() if: success()
uses: actions/upload-artifact@v2-preview uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.artifact_name }} name: ${{ matrix.artifact_name }}
path: "./artifact/" path: "./artifact/"