Skip to content

Commit b5f8b2c

Browse files
committed
changes to create release as first step
1 parent 7c9511f commit b5f8b2c

4 files changed

+8
-0
lines changed

.github/workflows/release-layer-java.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ jobs:
1414
create-release:
1515
runs-on: ubuntu-latest
1616
steps:
17+
- uses: actions/checkout@v4
1718
- name: Create Release
1819
run: gh release create ${{ github.ref_name }}
1920
env:
2021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2122
build-layer:
2223
runs-on: ubuntu-latest
24+
needs: create-release
2325
outputs:
2426
JAVAAGENT_VERSION: ${{ steps.save-javaagent-version.outputs.JAVAAGENT_VERSION }}
2527
JAVAWRAPPER_VERSION: ${{ steps.save-javawrapper-version.outputs.JAVAWRAPPER_VERSION }}

.github/workflows/release-layer-nodejs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ jobs:
1414
create-release:
1515
runs-on: ubuntu-latest
1616
steps:
17+
- uses: actions/checkout@v4
1718
- name: Create Release
1819
run: gh release create ${{ github.ref_name }}
1920
env:
2021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2122
build-layer:
2223
runs-on: ubuntu-latest
24+
needs: create-release
2325
outputs:
2426
NODEJS_VERSION: ${{ steps.save-node-sdk-version.outputs.SDK_VERSION}}
2527
steps:

.github/workflows/release-layer-python.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ jobs:
1414
create-release:
1515
runs-on: ubuntu-latest
1616
steps:
17+
- uses: actions/checkout@v4
1718
- name: Create Release
1819
run: gh release create ${{ github.ref_name }}
1920
env:
2021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2122
build-layer:
2223
runs-on: ubuntu-latest
24+
needs: create-release
2325
outputs:
2426
PYTHON_OPENTELEMETRY_SDK_VERSION: ${{ steps.save-python-opentelemetry-sdk-version.outputs.PYTHON_OPENTELEMETRY_SDK_VERSION}}
2527
steps:

.github/workflows/release-layer-ruby.yml

+2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ jobs:
1414
create-release:
1515
runs-on: ubuntu-latest
1616
steps:
17+
- uses: actions/checkout@v4
1718
- name: Create Release
1819
run: gh release create ${{ github.ref_name }}
1920
env:
2021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2122
build-layer:
2223
runs-on: ubuntu-latest
24+
needs: create-release
2325
outputs:
2426
RUBY_SDK_VERSION: ${{ steps.save-ruby-sdk-version.outputs.RUBY_SDK_VERSION}}
2527
steps:

0 commit comments

Comments
 (0)