-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Not a complete implementation since we need to check if there’s a newer pkgm separate to pkgx. * Default action to install pkgx^1 by default since we need a major version bump to switch to ^2
- Loading branch information
Showing
4 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,15 @@ | |
# GitHub Action | ||
|
||
```yaml | ||
- uses: pkgxdev/setup@v1 | ||
- uses: pkgxdev/setup@v2 | ||
``` | ||
Installs the latest version of `pkgx`. | ||
|
||
See [`action.yml`] for all inputs and outputs, but here’s the usual ones: | ||
|
||
```yaml | ||
- uses: pkgxdev/setup@v1 | ||
- uses: pkgxdev/setup@v2 | ||
with: | ||
+: [email protected] | ||
[email protected] # we understand colloquial names, generally just type what you know | ||
|
@@ -32,11 +32,6 @@ $ pkgx +rust | |
> See [`@pkgxdev/dev`] to run the `dev` command in a GitHub Actions compatible manner | ||
|
||
|
||
### Shell Integration | ||
|
||
We cannot integrate with the GitHub Actions shell. But you probably don’t | ||
need it. | ||
|
||
### Should you Cache `~/.pkgx`? | ||
|
||
No. pkgx packages are just tarballs. Caching is just a tarball. You’ll likely | ||
|
@@ -52,8 +47,8 @@ To install `pkgx`: | |
```sh | ||
$ curl https://pkgx.sh | sh | ||
# - installs to `/usr/local/bin/pkgx` | ||
# - if pkgx is already installed it’s a noop | ||
# - installs to `pkgx` & `pkgm` to `/usr/local/bin` | ||
# - if both are already installed, does an update check | ||
``` | ||
|
||
## Temporary Sandboxes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters