Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Release Artifacts | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish-artifacts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Artifacts | |
run: | | |
echo "Release Tag: ${{ github.event.release.tag_name }}" | |
./scripts/github/release-artifacts.sh --tag "${{ github.event.release.tag_name }}" --workflow "Release Artifacts" --repo-org "${{ github.repository_owner }}" download | |
env: | |
GITHUB_TOKEN: ${{ secrets.ORG_CI_GITHUB }} | |
- name: Upload Artifacts | |
run: | | |
repos="mayastor-extensions mayastor-control-plane mayastor" | |
./scripts/github/release-artifacts.sh --tag "${{ github.event.release.tag_name }}" --repo-org "${{ github.repository_owner }}" --upload "$repos" upload | |
env: | |
GITHUB_TOKEN: ${{ secrets.ORG_CI_GITHUB }} |