Skip to content

Commit

Permalink
fix: Rename back to setup-rye
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Jul 13, 2023
1 parent 1227268 commit 9bfa2d8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# install-rye
# setup-rye

Set up your GitHub Actions workflow with a specific version of [rye](https://rye-up.com/).

Expand All @@ -13,7 +13,7 @@ Set up your GitHub Actions workflow with a specific version of [rye](https://rye
- name: Checkout your repository
uses: actions/checkout@v3
- name: Install the latest version of rye
uses: eifinger/install-rye@v1
uses: eifinger/setup-rye@v1
- name: Sync your dependencies
run: rye sync
```
Expand All @@ -22,7 +22,7 @@ You can also specify a specific version of rye
```yaml
- name: Install a specific version
uses: eifinger/install-rye@v1
uses: eifinger/setup-rye@v1
with:
version: '0.10.0'
```
Expand Down
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'install-rye'
name: 'Python Setup Rye'
description: 'Set up and cache rye and add it to the PATH'
author: 'eifinger'
inputs:
Expand All @@ -8,3 +8,6 @@ inputs:
runs:
using: 'node16'
main: 'dist/setup/index.js'
branding:
icon: 'package'
color: 'blue'
2 changes: 1 addition & 1 deletion dist/setup/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/setup/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/setup-rye.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function resolveVersion(versionInput: string): Promise<string> {

async function getAvailableVersions(): Promise<string[]> {
const githubClient = new octokit.Octokit({
userAgent: 'install-rye',
userAgent: 'setup-rye',
request: {fetch}
})
const response = await githubClient.rest.repos.listReleases({
Expand Down

0 comments on commit 9bfa2d8

Please sign in to comment.