diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index c2725e9..ed34252 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -21,10 +21,6 @@ jobs: branch: release-6.x steps: - - uses: actions/checkout@v2 - with: - ref: ${{ matrix.branch }} - - uses: actions/setup-node@v2 - run: npm install semver @@ -59,6 +55,11 @@ jobs: return { version: latestVersion } } + - uses: actions/checkout@v2 + if: steps.get-latest-release.outputs.result + with: + ref: ${{ matrix.branch }} + - name: Update stack version id: update-files if: steps.get-latest-release.outputs.result diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 753765e..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Node.js artifacts created by certain GitHub Actions -/node_modules/ -/package-lock.json