From 37eb71e281e428633b359668d74740db29e65cc3 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Thu, 29 Jul 2021 19:23:57 -0700 Subject: [PATCH] Reorder steps to do the checkout first, then do other operations. I think the checkout into the current repo will overwrite the other contents there? --- .github/workflows/actions-migration.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/actions-migration.yml b/.github/workflows/actions-migration.yml index 9caba488da..96cc1dd87c 100644 --- a/.github/workflows/actions-migration.yml +++ b/.github/workflows/actions-migration.yml @@ -311,6 +311,15 @@ jobs: needs: [validate-content, build-sources, build-package, run-appinspect, create-report] steps: + - name: Checkout Repo + uses: actions/checkout@v2 + + - uses: actions/setup-python@v2 + with: + python-version: '3.9.5' #Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy + architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified + + - uses: actions/download-artifact@v2 with: name: content-latest @@ -329,13 +338,6 @@ jobs: ls -lah ls -lah latest-escu ls -lah latest-saaws - - name: Checkout Repo - uses: actions/checkout@v2 - - - uses: actions/setup-python@v2 - with: - python-version: '3.9.5' #Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy - architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified - name: Install Python Dependencies run: | @@ -369,7 +371,7 @@ jobs: - name: Run generate-coverage-map run: | source venv/bin/activate - python bin/generate-coverage-map.py --projects_path . --output docs/mitre-map + python3 bin/generate-coverage-map.py --projects_path . --output docs/mitre-map - name: Update github with new docs and package bits run: |