Skip to content

Commit

Permalink
Update main -> 0.4.x (#4074)
Browse files Browse the repository at this point in the history
  • Loading branch information
externl authored Sep 16, 2024
1 parent 1f3ceae commit 660a94b
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: ci

on:
push:
branches: ["main"]
branches: ["0.4.x"]
pull_request:
branches: ["main"]
branches: ["0.4.x"]

jobs:
build_and_test:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: [ "0.4.x" ]
pull_request:
branches: [ "main" ]
branches: [ "0.4.x" ]
schedule:
- cron: '25 1 * * 0'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: coverage

on:
push:
branches: ["main"]
branches: ["0.4.x"]
pull_request:
branches: ["main"]
branches: ["0.4.x"]

jobs:
coverage:
Expand Down Expand Up @@ -36,9 +36,9 @@ jobs:
license: ${{ secrets.REPORT_GENERATOR_LICENSE }}

- name: Sync Coverage Report to S3
run: aws s3 sync ./coveragereport s3://${{ secrets.AWS_S3_BUCKET }}/csharp/main/coverage --delete
run: aws s3 sync ./coveragereport s3://${{ secrets.AWS_S3_BUCKET }}/csharp/0.4.x/coverage --delete
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
if: github.ref == 'refs/heads/0.4.x' && github.event_name != 'pull_request'
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: docs

on:
push:
branches: ["main"]
branches: ["0.4.x"]
pull_request:
branches: ["main"]
branches: ["0.4.x"]

jobs:
docfx:
Expand All @@ -23,9 +23,9 @@ jobs:
./build.sh --doc
- name: Sync to S3
run: aws s3 sync ./docfx/_site s3://${{ secrets.AWS_S3_BUCKET }}/csharp/main/api --delete
run: aws s3 sync ./docfx/_site s3://${{ secrets.AWS_S3_BUCKET }}/csharp/0.4.x/api --delete
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
if: github.ref == 'refs/heads/0.4.x' && github.event_name != 'pull_request'
4 changes: 2 additions & 2 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: rustfmt

on:
push:
branches: ["main"]
branches: ["0.4.x"]
pull_request:
branches: ["main"]
branches: ["0.4.x"]

jobs:
rustfmt:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "Check spelling"

on:
push:
branches: ["main"]
branches: ["0.4.x"]
pull_request:
branches: ["main"]
branches: ["0.4.x"]

jobs:
spellcheck:
Expand Down

0 comments on commit 660a94b

Please sign in to comment.