Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagolobocastro committed Jan 30, 2024
1 parent 687f524 commit bcd3908
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/publish-release-artifacts.yml
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 }}

0 comments on commit bcd3908

Please sign in to comment.