This commit is contained in:
Amarachi Omereife 2023-10-17 20:26:58 +01:00
parent 3c2fdb2e42
commit 1513b8c191
2 changed files with 24 additions and 28 deletions

View File

@ -13,13 +13,15 @@ jobs:
- uses: actions/checkout@v3
- name: create artifacts directory
run: mkdir artifacts
run: mkdir artifact
working-directory: ./
- uses: actions/download-artifact@v3
- uses: dawidd6/action-download-artifact@v2
with:
path: artifacts
workflow: build-uc2.yml
workflow_conclusion:
path: artifact
- name: Display structure of downloaded files
run: ls -R
working-directory: artifacts
working-directory: artifact

View File

@ -242,30 +242,6 @@ jobs:
ls -laR
${{ matrix.config.archiver }} ../${{ matrix.config.artifact }} . ../test*
- name: create sample file
run: touch artifacts
working-directory: ./
- name: 'Upload sample'
if: always()
uses: actions/upload-artifact@v1
with:
path: ./artifacts
name: artifacts
- name: create artifact directory
run: mkdir artifact
working-directory: ./
- name: 'download artifact'
uses: actions/download-artifact@v3
with:
path: artifact
- name: Display structure of downloaded files
run: ls -R
working-directory: artifact
- name: '📤 Upload artifact'
if: always()
uses: actions/upload-artifact@v1
@ -569,3 +545,21 @@ jobs:
with:
path: ./${{ matrix.config.artifact }}
name: ${{ matrix.config.artifact }}
Download-artifact:
runs-on: ubuntu-latest
name: download artifact
steps:
- name: create artifact directory
run: mkdir artifact
working-directory: ./
- name: 'download artifact'
uses: actions/download-artifact@v3
with:
path: artifact
- name: Display structure of downloaded files
run: ls -R
working-directory: artifact