Skip to content

Commit

Permalink
Add release environment to release jobs (#1424)
Browse files Browse the repository at this point in the history
This should fix some of the missing credentials issues.
  • Loading branch information
jaymell authored Sep 10, 2024
1 parent c05f5d3 commit aa8b8e2
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bridge-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
release:
name: release ${{ matrix.target }}
runs-on: ${{ matrix.os }}
environment: release

strategy:
fail-fast: false
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/csharp-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
dotnet:
name: C# Release
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/java-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
dotnet:
name: Java Release
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/javascript-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/kotlin-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
kotlin:
name: Kotlin Release
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/php-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
packagist:
name: Update Packagist
runs-on: ubuntu-latest
environment: release

steps:
- name: Update Packagist
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build:
name: Build source distribution
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ruby-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
dotnet:
name: Ruby Release
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/rust-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ env:
jobs:
build:
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/server-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
release:
name: release x86_64-unknown-linux-gnu
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-postman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
postman:
name: Update Postman Collection
runs-on: ubuntu-latest
environment: release

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit aa8b8e2

Please sign in to comment.