-
Notifications
You must be signed in to change notification settings - Fork 97
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
CI: updated all deprecated actions #400
CI: updated all deprecated actions #400
Conversation
@@ -150,6 +150,7 @@ jobs: | |||
|
|||
- name: Create release | |||
id: create-release | |||
# TODO: Replace as it has been deprecated |
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.
It seems that this should be replaced by gh cli
.
Example solution:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
--generate-notes
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.
GitHub also showed some alternatives actions in the readme
# TODO: Replace as it has been deprecated | ||
uses: actions/upload-release-asset@v1 | ||
env: |
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.
From the action's readme the new action that seems to replace this one is softprops/action-gh-release
/merge |
Review required! Latest push from author must always be reviewed |
/merge |
4eb5267
into
polkadot-fellows:main
Enabled Available commands
For more information see the documentation |
I have noticed there are a lot of outdated actions with deprecated warnings:
This PR updates all of GitHub actions to latest version to remove such warnings.
I have also added some
TODO
to actions that have been archived by GitHub and that require an alternative action/solution. We can do that in a different PR once we identify the correct solution.