-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
687f524
commit bcd3908
Showing
1 changed file
with
15 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
name: Publish Release Artifacts | ||
on: | ||
release: | ||
types: [published] | ||
# release: | ||
# types: [published] | ||
push: | ||
branches: | ||
- 'helm-develop' | ||
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: 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 | ||
#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 | ||
echo "test" > test.txt | ||
gh release upload "v1.0.9" --clobber test.txt --repo "${{ github.repository_owner }}/mayastor" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ORG_CI_GITHUB }} |