Skip to content

Commit

Permalink
CI: fix uploading of artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Feb 18, 2024
1 parent 1c6d5be commit 5be9909
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ jobs:

- name: Set env vars
run: |
export REPOSITORY_NAME=${GITHUB_REPOSITORY#*/} # just the repo, as opposed to org/repo
echo "REPOSITORY_NAME=${REPOSITORY_NAME}" >> $GITHUB_ENV
export PYTHONVER=$(echo ${{ matrix.python-version }} | sed 's/\.//g')
echo "PYTHONVER=${PYTHONVER}" >> $GITHUB_ENV
export DATETIME_STRING=$(date +%Y%m%d%H%M%S)
echo "DATETIME_STRING=${DATETIME_STRING}" >> $GITHUB_ENV
Expand All @@ -81,7 +88,9 @@ jobs:
- name: Upload test artifacts
uses: actions/upload-artifact@v4
with:
name: test-artifacts-{{ env.DATETIME_STRING }}
name:
${{ env.REPOSITORY_NAME }}-${{ env.DATETIME_STRING }}-py${{
env.PYTHONVER }}
path: /tmp/srx-caproto-iocs/
retention-days: 14

Expand Down

0 comments on commit 5be9909

Please sign in to comment.