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

NH-55892 fix directory issue #2

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions .github/workflows/push-package-solarwinds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
description: 'The name of gem you want to publish (without opentelemetry-instrumentation e.g. aws_sdk)'

jobs:
# act -j build --container-architecture linux/arm64 --secret-file act.secrets
build:
name: Build + Publish to Github Package
runs-on: ubuntu-latest
Expand All @@ -30,5 +31,5 @@ jobs:

- name: Build gem and publish to github package
id: gemstep
run: |
./script/sw_build_and_push_gem.sh ${{ github.event.inputs.gem_name }}
run: |
.github/workflows/script/sw_build_and_push_gem.sh ${{ github.event.inputs.gem_name }}
4 changes: 3 additions & 1 deletion .github/workflows/script/sw_build_and_push_gem.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/bash
#!/bin/sh

GEM_NAME="$1"

cd "instrumentation/$GEM_NAME" || exit 1

echo "Current directory: $PWD"

bundle install

# get gem version using bash
Expand Down