Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(BUX-616): release workflow for engine and models libraries #488

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,30 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

release_libs:
runs-on: ubuntu-latest
needs: [release_default]
strategy:
matrix:
lib:
- models
- engine
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: 'Configure Git'
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

- name: Tag ${{ matrix.lib }}
run: |
git tag ${{ matrix.lib }}/${{ github.ref_name }} -am "${{ matrix.lib }}/${{ github.ref_name }}"
git push origin ${{ matrix.lib }}/${{ github.ref_name }}

- name: Syndicate to GoDocs
run: |
echo "syndicating to GoDocs..."
curl "https://proxy.golang.org/github.com/${{ github.repository }}/${{ matrix.lib }}/@v/${{ github.ref_name }}.info"
Loading