Skip to content

Commit

Permalink
Use checkout@v3 with submodules
Browse files Browse the repository at this point in the history
Let's see if this works.
  • Loading branch information
TomasHubelbauer authored Apr 13, 2022
1 parent f69c7a9 commit 7823c60
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: ci_cd
on:
push:
branches:
- master
on: push

jobs:
main:
runs-on: windows-latest
steps:
- name: Check out the source code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: master
submodules: recursive
- name: Switch to Node 14 (needed for PKG)
uses: actions/setup-node@v2-beta
with:
Expand All @@ -18,12 +19,6 @@ jobs:
Set-PSDebug -Trace 1
$ErrorActionPreference = "Stop"
# Initialize the dependencies in Git submodules
git submodule update --recursive --init
if (-not $?) {
throw "Failed to run git submodule update"
}
# Run the JavaScript and MarkDown tests
node test
if (-not $?) {
Expand Down

0 comments on commit 7823c60

Please sign in to comment.