From 3c330bda2323e83440455c24d2be4a5141cfd22c Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Thu, 11 Jul 2024 10:43:08 +0200 Subject: [PATCH] test: upload pilot.tar as artifacts --- .github/workflows/nightly.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 502b899e..0992039f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -9,7 +9,7 @@ on: push jobs: - # uploading master and devel tarballs to web server, for use in subsequent tests + # uploading master and devel tarballs as artifacts, for use in subsequent tests # the base tests that use these uploaded tarballs are the DIRAC "pilot wrapper" tests: # https://github.com/DIRACGrid/DIRAC/actions?query=workflow%3A%22pilot+wrapper%22 # (triggered by https://github.com/DIRACGrid/DIRAC/blob/integration/.github/workflows/pilotWrapper.yml) @@ -31,7 +31,6 @@ jobs: - name: create artifacts run: | - pwd mkdir tmp_dir cp Pilot/*.py tmp_dir/ cp tests/pilot.json tmp_dir/ @@ -40,13 +39,8 @@ jobs: tar -cf pilot.tar *.py # make the checksums file sha512sum pilot.tar pilot.json *.py > checksums.sha512 - cd .. - cp tmp_dir/checksums.sha512 . - cp tmp_dir/pilot.tar . - pwd - ls -l - cp tmp_dir/checksums.sha512 ../ - cp tmp_dir/pilot.tar ../ + # remove unneeded files + rm *.py - name: upload artifacts uses: actions/upload-artifact@v4