Skip to content

Commit

Permalink
use node20, update default mesa version, bump major version of action…
Browse files Browse the repository at this point in the history
… to v2
  • Loading branch information
lkeegan committed Jan 25, 2024
1 parent bcad183 commit 6657792
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 53 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on windows runners.
## Example usage

```yaml
- uses: ssciwr/setup-mesa-dist-win@v1
- uses: ssciwr/setup-mesa-dist-win@v2
```
Optionally specify the release version, build type or deployment choice:
```yaml
- uses: ssciwr/setup-mesa-dist-win@v1
- uses: ssciwr/setup-mesa-dist-win@v2
with:
version: '22.1.7'
version: '23.3.3'
build-type: 'release-msvc'
deployment-choice: '1'
```
Expand All @@ -25,12 +25,13 @@ Optionally specify the release version, build type or deployment choice:
To make a new release:
- update the version number in [package.json](package.json#L3)
- run `npm ci` to install the dependencies
- run `npm install` to install the dependencies and update package-lock.json
- run `npm ci` to do a fresh install
- run `npm run package` to generate the bundled package in `dist`
- commit the changes including the `dist` folder and push
- tag the commit with the full version number, e.g.
- `git tag v1.0.7`
- `git push origin v1.0.7`
- move the `v1` tag to this commit
- `git tag -f v1`
- `git push origin v1 -f`
- `git tag v2.0.7`
- `git push origin v2.0.7`
- move the major version tag, e.g. in this case `v2`, to this commit
- `git tag -f v2`
- `git push origin v2 -f`
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
version:
description: 'The mesa-dist-win release version to use'
required: false
default: '22.1.7'
default: '23.3.3'
build-type:
description: 'The mesa-dist-win build type to use'
required: false
Expand All @@ -14,5 +14,5 @@ inputs:
required: false
default: '1'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
59 changes: 37 additions & 22 deletions dist/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/index.js.map

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-mesa-dist-win",
"version": "1.0.0",
"version": "2.0.0",
"description": "Installs Mesa3D from https://github.com/pal1000/mesa-dist-win/",
"main": "index.js",
"scripts": {
Expand All @@ -18,11 +18,11 @@
},
"homepage": "https://github.com/ssciwr/setup-mesa-dist-win#readme",
"dependencies": {
"@actions/core": "^1.9.1",
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/tool-cache": "^2.0.1"
},
"devDependencies": {
"@vercel/ncc": "^0.34.0"
"@vercel/ncc": "^0.38.1"
}
}

0 comments on commit 6657792

Please sign in to comment.