Skip to content

Test downloading artifacts #33

Test downloading artifacts

Test downloading artifacts #33

Workflow file for this run

name: "Test downloading artifacts"
on:
workflow_dispatch:
inputs:
number_of_KAD_jobs:
description: "Quantity of KAD jobs"
required: true
default: 2
jobs:
generate-artifacts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
cd "$GITHUB_WORKSPACE"
mkdir ./expired-d
touch ./expired-d/test-1.txt
touch ./expired-d/test-2.txt
- uses: actions/upload-artifact@v3
with:
name: E_KAD_01
path: |
expired-d/test-1.txt
- uses: actions/upload-artifact@v3
with:
name: E_KAD_02
path: |
expired-d/test-2.txt
download-artifacts:
needs: generate-artifacts
runs-on: ubuntu-latest
container: ghcr.io/filtersheroes/expired_domains_image:latest
env:
GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
./scripts/CI/getArtifactNamesForED.py KAD
- run: |
./scripts/CI/downloadArtifacts.py "E_KAD_NAMES"
ls -l ./expired-d