Skip to content

Commit

Permalink
Merge pull request #51 from solarwinds/NH-66480
Browse files Browse the repository at this point in the history
NH-66480: update workflow as amzlinux only work with checkout/action@v3 (or less)
  • Loading branch information
xuan-cao-swi authored Jan 24, 2024
2 parents ce7bf98 + e280d70 commit 24cbb19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_for_github_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
- name: Build gem and publish to github package
id: gemstep
run: |
mkdir ~/.gem
cd ~
[ -d '.gem' ] || mkdir .gem && echo "Directory created or already exists."
cd -
echo -e "---\n:github: Bearer $GITHUB_SECRET_TOKEN" >> ~/.gem/credentials
chmod 0600 ~/.gem/credentials
bundle exec rake build_gem_for_github_package[${{ steps.version.outputs.gem_version }}]
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test_on_4_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3

steps:

- name: Checkout ${{ github.ref }}
if: ${{ matrix.os == 'amzlinux' }}
uses: actions/checkout@v3

- name: Checkout ${{ github.ref }}
if: ${{ matrix.os != 'amzlinux' }}
uses: actions/checkout@v4

- name: print some info
Expand Down

0 comments on commit 24cbb19

Please sign in to comment.