workflw
This commit is contained in:
10
.github/workflows/attach-release.yml
vendored
10
.github/workflows/attach-release.yml
vendored
@@ -13,13 +13,15 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: create artifacts directory
|
- name: create artifacts directory
|
||||||
run: mkdir artifacts
|
run: mkdir artifact
|
||||||
working-directory: ./
|
working-directory: ./
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: dawidd6/action-download-artifact@v2
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
workflow: build-uc2.yml
|
||||||
|
workflow_conclusion:
|
||||||
|
path: artifact
|
||||||
|
|
||||||
- name: Display structure of downloaded files
|
- name: Display structure of downloaded files
|
||||||
run: ls -R
|
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
|
ls -laR
|
||||||
${{ matrix.config.archiver }} ../${{ matrix.config.artifact }} . ../test*
|
${{ 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'
|
- name: '📤 Upload artifact'
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
@@ -569,3 +545,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ./${{ matrix.config.artifact }}
|
path: ./${{ matrix.config.artifact }}
|
||||||
name: ${{ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user