Skip to content

Commit

Permalink
chore: try to extract needs into const
Browse files Browse the repository at this point in the history
  • Loading branch information
raits committed Nov 7, 2024
1 parent 1b99be7 commit 6fee9c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
console.log(context);
const csArtifactsUrl = `\${{ needs.RunCSSystemTests.outputs.cs-artifacts-url }}`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
Expand All @@ -399,7 +399,7 @@ jobs:
| Test suite | Report URL | Artifacts |
|-----------------|------------|-----------|
| Central Server | <a href="https://nordic-institute.github.io/X-Road/central-server/ui-system-test/${{ github.run_number }}" target="_blank">Report</a> | ${context.needs.RunCSSystemTests.outputs.cs-artifacts-url !== '' ? '<a href="${{ needs.RunCSSystemTests.outputs.cs-artifacts-url }}" target="_blank">Artifacts</a>' : 'N/A'} |
| Central Server | <a href="https://nordic-institute.github.io/X-Road/central-server/ui-system-test/${{ github.run_number }}" target="_blank">Report</a> | ${csArtifactUrl !== '' ? '<a href="${{ needs.RunCSSystemTests.outputs.cs-artifacts-url }}" target="_blank">Artifacts</a>' : 'N/A'} |
| Security Server | <a href="https://nordic-institute.github.io/X-Road/security-server/system-test/${{ github.run_number }}" target="_blank">Report</a> | <a href="${{ needs.RunSSSystemTests.outputs.ss-artifacts-url }}" target="_blank">Artifacts</a> |
| E2E | <a href="https://nordic-institute.github.io/X-Road/e2e/${{ github.run_number }}" target="_blank">Report</a> | <a href="${{ needs.RunE2ETests.outputs.e2e-artifacts-url }}" target="_blank">Artifacts</a> |
`
Expand Down

0 comments on commit 6fee9c6

Please sign in to comment.