Skip to content

Commit

Permalink
ci: Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord committed Apr 24, 2023
1 parent 3dc7e24 commit c1022f1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
NUMARY_GITHUB_TOKEN: ${{ secrets.NUMARY_GITHUB_TOKEN }}

GoReleaserBuild:
needs:
- Control
if: github.event_name != 'release'
name: 'GoReleaser Build'
uses: ./.github/workflows/template_goreleaser-build.yaml
Expand All @@ -28,6 +30,8 @@ jobs:
SEGMENT_WRITE_KEY_OSS: ${{ secrets.SEGMENT_WRITE_KEY_OSS }}

GoReleaserRelease:
needs:
- Control
if: github.event_name == 'release'
name: 'GoReleaser Release'
uses: ./.github/workflows/template_goreleaser-release.yaml
Expand All @@ -53,6 +57,8 @@ jobs:
NUMARY_GITHUB_TOKEN: ${{ secrets.NUMARY_GITHUB_TOKEN }}

DockerRelease:
needs:
- Control
if: github.event_name == 'release'
uses: ./.github/workflows/template_docker.yaml
with:
Expand All @@ -64,6 +70,8 @@ jobs:
SEGMENT_WRITE_KEY_OSS: ${{ secrets.SEGMENT_WRITE_KEY_OSS }}

DockerBranch:
needs:
- Control
if: github.event_name != 'release'
uses: ./.github/workflows/template_docker.yaml
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template_sdk-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
uses: arduino/setup-task@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Launch Generate
run: task sdk:generate VERSION=${{ inputs.VERSION }} -- ${{ matrix.sdk }}
# - name: Launch Generate
# run: task sdk:generate VERSION=${{ inputs.VERSION }} -- ${{ matrix.sdk }}
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Upgrade Release to ${{ inputs.VERSION }}
Expand Down
2 changes: 0 additions & 2 deletions sdk/configs/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ additionalProperties:
files:
Taskfile.yml.mustache:
destinationFilename: Taskfile.yml
.github/workflows/release.yml.mustache:
destinationFilename: .github/workflows/release.yml
2 changes: 0 additions & 2 deletions sdk/configs/typescript-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ additionalProperties:
files:
Taskfile.yml.mustache:
destinationFilename: Taskfile.yml
.github/workflows/release.yml.mustache:
destinationFilename: .github/workflows/release.yml

0 comments on commit c1022f1

Please sign in to comment.