Skip to content

Commit

Permalink
chore(release): add test jobs back
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderblue committed Apr 30, 2024
1 parent 42ee95b commit 90d37df
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ on:
workflow_dispatch:

jobs:
# test:
# if: github.ref == 'refs/heads/main'
# uses: newrelic/newrelic-cli/.github/workflows/test.yml@main
# secrets:
# NEW_RELIC_ACCOUNT_ID: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
# NEW_RELIC_ADMIN_API_KEY: ${{ secrets.NEW_RELIC_ADMIN_API_KEY }}
# NEW_RELIC_API_KEY: ${{ secrets.NEW_RELIC_API_KEY }}
# NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
# NEW_RELIC_REGION: ${{ secrets.NEW_RELIC_REGION }}
# SPLIT_PROD_KEY: ${{ secrets.SPLIT_PROD_KEY }}
# SPLIT_STAGING_KEY: ${{ secrets.SPLIT_STAGING_KEY }}
# SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY }}
test:
if: github.ref == 'refs/heads/main'
uses: newrelic/newrelic-cli/.github/workflows/test.yml@main
secrets:
NEW_RELIC_ACCOUNT_ID: ${{ secrets.NEW_RELIC_ACCOUNT_ID }}
NEW_RELIC_ADMIN_API_KEY: ${{ secrets.NEW_RELIC_ADMIN_API_KEY }}
NEW_RELIC_API_KEY: ${{ secrets.NEW_RELIC_API_KEY }}
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
NEW_RELIC_REGION: ${{ secrets.NEW_RELIC_REGION }}
SPLIT_PROD_KEY: ${{ secrets.SPLIT_PROD_KEY }}
SPLIT_STAGING_KEY: ${{ secrets.SPLIT_STAGING_KEY }}
SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY }}

release:
if: github.ref == 'refs/heads/main'
name: Release
# needs: test
needs: test
runs-on: ubuntu-20.04
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
Expand Down

0 comments on commit 90d37df

Please sign in to comment.