Files
unicorn/.github/workflows/attach-release.yml
Amarachi Omereife dec01d7223 code refactor
2023-10-17 11:30:20 +01:00

39 lines
820 B
YAML

name: Attach Release Artifacts
on:
release:
types:
- released
workflow_dispatch:
jobs:
upload-artifacts:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Create artifacts directory
run: mkdir artifacts
working-directory: ./
- name: Upload all artifacts
uses: actions/upload-artifact@v2
with:
name: all-artifacts
path: artifacts
download-artifacts:
needs: upload-artifacts
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Download all artifacts
uses: actions/download-artifact@v2
with:
name: all-artifacts
- name: Display structure of downloaded files
run: ls -R