workflw
This commit is contained in:
parent
3c2fdb2e42
commit
1513b8c191
10
.github/workflows/attach-release.yml
vendored
10
.github/workflows/attach-release.yml
vendored
@ -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
|
42
.github/workflows/build-uc2.yml
vendored
42
.github/workflows/build-uc2.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user