Skip to content

[SDPTA-106] Fix actions warnings#48

Merged
tim-yao merged 6 commits intomainfrom
sdpta-1067-node-version-warning
Jun 6, 2024
Merged

[SDPTA-106] Fix actions warnings#48
tim-yao merged 6 commits intomainfrom
sdpta-1067-node-version-warning

Conversation

@tim-yao
Copy link
Contributor

@tim-yao tim-yao commented Jun 6, 2024

https://digital-vic.atlassian.net/browse/SDPTA-1067

There are too many warnings in the GHA, need to clean up to let the code future proof.

Tested and it looks all ok now. See https://github.com/dpc-sdp/sdp-testing/actions/runs/9394736636

@tim-yao tim-yao self-assigned this Jun 6, 2024
@tim-yao tim-yao requested a review from klaukl June 6, 2024 01:38
klaukl
klaukl previously approved these changes Jun 6, 2024
Comment on lines -115 to -117
- name: Get repo name
id: repo_name
run: echo "::set-output name=REPO_NAME::$(echo ${GITHUB_REPOSITORY#*/})"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant, not used at all. There is a warning for using set-output, so I decide to remove it.

Comment on lines -154 to -160
-
name: Upload test results
uses: actions/upload-artifact@v3
if: always()
with:
name: test-results
path: /app/reports/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is duplicated test report uploading, removed.

Comment on lines -173 to -179
-
name: Store Cucumber Cloud test report URL
uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ inputs.name }}-report-url
path: /app/reports/report-url.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplication, removed.

@tim-yao tim-yao requested a review from klaukl June 6, 2024 06:17
@tim-yao tim-yao merged commit cc2ac62 into main Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants