diff --git a/.github/workflows/ghost-cli.yml b/.github/workflows/ghost-cli.yml index c3b5be40d3..fbb55ed968 100644 --- a/.github/workflows/ghost-cli.yml +++ b/.github/workflows/ghost-cli.yml @@ -10,11 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 -# - run: git submodule update --init --force --recursive --depth=1 + with: + fetch-depth: 0 + submodules: true - uses: actions/setup-node@v1 with: node-version: '10' - - run: npm install -g ghost-cli@latest + - run: npm install -g ghost-cli@next - run: zip -r ghost.zip . - name: Clean Install @@ -28,8 +30,8 @@ jobs: ghost install local -d $DIR ghost update -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip -# - name: Previous Major -# run: | -# DIR=$(mktemp -d) -# ghost install v2 --local -d $DIR -# ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip + - name: Previous Major + run: | + DIR=$(mktemp -d) + ghost install v2 --local -d $DIR + ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip