Skip to content

Commit

Permalink
Updated actions from v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
samsinsane committed Apr 19, 2023
1 parent 7ddf533 commit ea864da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
platform: [x64]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build
run: make -f Bootstrap.mak linux PLATFORM=${{ matrix.platform }} CONFIG=${{ matrix.config }}
- name: Test
Expand All @@ -20,7 +20,7 @@ jobs:
run: bin/${{ matrix.config }}/premake5 docs-check
- name: Upload Artifacts
if: matrix.config == 'release'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: premake-linux-${{ matrix.platform }}
path: bin/${{ matrix.config }}/
Expand All @@ -32,7 +32,7 @@ jobs:
platform: [x64]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build
run: make -f Bootstrap.mak macosx PLATFORM=${{ matrix.platform }} CONFIG=${{ matrix.config }}
- name: Test
Expand All @@ -41,7 +41,7 @@ jobs:
run: bin/${{ matrix.config }}/premake5 docs-check
- name: Upload Artifacts
if: matrix.config == 'release'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: premake-macosx-${{ matrix.platform }}
path: bin/${{ matrix.config }}/
Expand All @@ -53,7 +53,7 @@ jobs:
platform: [Win32, x64]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build
run: |
$vcvarsall_path = vswhere.exe -find VC\Auxiliary\Build\vcvarsall.bat
Expand All @@ -66,7 +66,7 @@ jobs:
shell: cmd
- name: Upload Artifacts
if: matrix.config == 'release'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: premake-windows-${{ matrix.platform }}
path: bin\${{ matrix.config }}\
Expand All @@ -86,7 +86,7 @@ jobs:
shell: msys2 {0}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: 'Setup MSYS2'
uses: msys2/setup-msys2@v2
with:
Expand All @@ -105,7 +105,7 @@ jobs:
run: bin/${{ matrix.config }}/premake5.exe docs-check
- name: Upload Artifacts
if: matrix.config == 'release'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: premake-${{ matrix.msystem }}-${{ matrix.platform }}
path: bin\${{ matrix.config }}\
8 changes: 4 additions & 4 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- name: Test Build
Expand All @@ -23,10 +23,10 @@ jobs:
if: github.repository_owner == 'premake' && github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '14'
- name: Add key to allow access to repository
Expand Down

0 comments on commit ea864da

Please sign in to comment.