-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow pkg action to use ANY pkg package eg @yao-pkg/[email protected] (#8)
- Loading branch information
Showing
6 changed files
with
21 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,9 +48,10 @@ jobs: | |
- linux | ||
- macos | ||
- win | ||
pkg-version: | ||
- "5.8.0" | ||
- "5.8.1" | ||
pkg: | ||
- "[email protected]" | ||
- "[email protected]" | ||
- "@yao-pkg/[email protected]" | ||
steps: | ||
- name: Checkout action code | ||
uses: actions/checkout@v3 | ||
|
@@ -62,5 +63,5 @@ jobs: | |
entrypoint: bin/test | ||
node-version: ${{ matrix.node-version }} | ||
os: ${{ matrix.os }} | ||
pkg: ${{ matrix.pkg-version }} | ||
pkg: ${{ matrix.pkg }} | ||
upload: false |
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ jobs: | |
- name: Prepare release | ||
uses: lando/prepare-release-action@v2 | ||
with: | ||
sync-tags: v3 | ||
sync-tags: v4 |
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 |
---|---|---|
@@ -1,3 +1,9 @@ | ||
## v4.0.0 - [December 4, 2023](https://github.com/lando/pkg-action/releases/tag/v4.0.0) | ||
|
||
### **BREAKING CHANGES** | ||
|
||
* `pkg` input now takes any valid spec eg `@yao-pkg/[email protected]` as opposed to just the `versions` | ||
|
||
## v3.0.1 - [September 28, 2023](https://github.com/lando/pkg-action/releases/tag/v3.0.1) | ||
|
||
* Reverted `node-sync` do to extreme slowness using `node16` in `arm64` environment | ||
|
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 |
---|---|---|
|
@@ -34,7 +34,7 @@ These keys are set to sane defaults but can be modified as needed. | |
| `node-version` | The node version to package with. | `16` | `8` \| `10` \| `12` \| `14` \| `16` | | ||
| `options` | Additional options and flags to pass into pkg. | `null` | Additional [pkg options](https://github.com/vercel/pkg#usage) | | ||
| `os` | The operating system to build for. | `${{ runner.os }}` | `linux` \| `macos` \| `win` | | ||
| `pkg` | The version on @vercel/pkg to use. | `5.8.1` | `latest` | | ||
| `pkg` | The `pkg` package` to use. | `pkg@5.8.1` | `latest` | | ||
| `upload` | Upload the artifacts. Useful if you need to grab them for downstream for things like code signing. | `true` | `false` \| `true` | | ||
|
||
## Outputs | ||
|
@@ -55,7 +55,7 @@ outputs: | |
```yaml | ||
name: Package into node binary | ||
uses: lando/pkg-action@v3 | ||
uses: lando/pkg-action@v4 | ||
with: | ||
entrypoint: bin/cli | ||
``` | ||
|
@@ -65,7 +65,7 @@ with: | |
**ALL OPTIONS** | ||
```yaml | ||
name: Package into node binary | ||
uses: lando/pkg-action@v3 | ||
uses: lando/pkg-action@v4 | ||
with: | ||
entrypoint: bin/cli | ||
arch: arm64 | ||
|
@@ -74,6 +74,7 @@ with: | |
options: -C | ||
os: win | ||
upload: false | ||
pkg: "@yao-pkg/[email protected]" | ||
``` | ||
**CROSS COMPILE ON ALL THE THINGS** | ||
|
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 |
---|---|---|
|
@@ -18,6 +18,6 @@ | |
"Github Actions" | ||
], | ||
"engines": { | ||
"node": ">=16.0.0" | ||
"node": ">=18.0.0" | ||
} | ||
} |