-
Notifications
You must be signed in to change notification settings - Fork 0
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
[SDPTA-106] Fix actions warnings #48
Conversation
- name: Get repo name | ||
id: repo_name | ||
run: echo "::set-output name=REPO_NAME::$(echo ${GITHUB_REPOSITORY#*/})" |
There was a problem hiding this comment.
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.
- | ||
name: Upload test results | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: test-results | ||
path: /app/reports/ |
There was a problem hiding this comment.
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.
- | ||
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplication, removed.
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