Skip to content

Upgrade Actions versions and use non-deprecated release action #82

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

themkat
Copy link
Collaborator

@themkat themkat commented Nov 23, 2023

When building or releasing/deploying, we get errors from Github Actions. Most of these are deprecation warnings for Node12 , but some are usage of deprecated methods in our actions.

Also change the release action we are using. The old ones from Github are deprecated and no longer maintained. The new one is directly linked to from the repos of Githubs older actions. Hopefully it will behave 100 % the same.

@themkat themkat added the enhancement New feature or request label Nov 23, 2023
with:
distribution: 'temurin'
java-version: 11
- name: Build distribution
run: ./gradlew :adapter:distZip
- name: Create release
uses: actions/create-release@v1
id: create_release
uses: softprops/action-gh-release@v1
Copy link
Owner

Choose a reason for hiding this comment

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

I would probably just use the gh CLI like we do for the language server, that way we don't have to pull in another third-party action: https://github.com/fwcd/kotlin-language-server/blob/eee8afa9b6b92c4c5ae445823b3719818d595ec1/.github/workflows/deploy.yml#L27-L45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants