Skip to content

Commit

Permalink
setup-ovr-platform-util@v1.1.3 (#13)
Browse files Browse the repository at this point in the history
- misc cleanup
  • Loading branch information
StephenHodgson authored Aug 12, 2024
1 parent 8cdc46f commit ad27736
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: validate

on:
schedule:
- cron: '0 0 * * 0' # every Sunday at midnight
push:
branches:
- 'main'
pull_request:
branches:
- '*'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.ref }}

Expand All @@ -21,12 +20,8 @@ jobs:
fail-fast: false
matrix:
os: [ macos-latest, windows-latest, macos, windows ]

steps:
- name: checkout self
uses: actions/checkout@v4

- uses: actions/checkout@v4
- name: RageAgainstThePixel/setup-ovr-platform-util
uses: ./

- run: 'ovr-platform-util version'
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.cache/
node_modules
node_modules
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# setup-ovr-platform-utility

A GitHub Action to setup the [`ovr-platform-utility`](https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/) tool command alias.
A GitHub Action to setup the [`ovr-platform-utility`](https://developer.oculus.com/resources/publish-reference-platform-command-line-utility) tool command alias.

## How to use

Expand All @@ -11,7 +11,6 @@ jobs:
strategy:
matrix:
os: [ macos-latest, windows-latest, macos, windows ]

steps:
# download and setup ovr platform util
- uses: RageAgainstThePixel/setup-ovr-platform-util@v1
Expand Down
5 changes: 2 additions & 3 deletions action.yaml → action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: 'Setup OVR Platform Utility'
description: 'A GitHub Action to setup the ovr platform utility tool'
description: 'A GitHub Action to setup the ovr-platform-util tool command alias.'
branding:
icon: 'box'
icon: 'terminal'
color: 'blue'

runs:
using: 'node20'
main: 'dist/index.js'
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34015,7 +34015,7 @@ function getTempDirectory() {
}

function getExecutable(directory) {
return path.resolve(directory, toolPath);
return path.join(directory, toolPath);
}

async function getVersion(tool) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

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

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "setup-ovr-platform-util",
"version": "1.1.2",
"description": "A GitHub Action to setup the ovr platform utility tool",
"version": "1.1.3",
"description": "A GitHub Action to setup the ovr-platform-util tool command alias.",
"author": "RageAgainstThePixel",
"repository": {
"type": "git",
Expand All @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/RageAgainstThePixel/setup-ovr-platform-util/issues"
},
"homepage": "https://github.com/RageAgainstThePixel/setup-ovr-platform-util#readme",
"homepage": "https://github.com/RageAgainstThePixel/setup-ovr-platform-util",
"keywords": [
"oculus",
"ovr",
Expand All @@ -21,7 +21,7 @@
"github",
"action"
],
"main": "src/index.js",
"main": "dist/index.js",
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
Expand All @@ -33,6 +33,6 @@
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "ncc build src/index.js -o dist --source-map --license licenses.txt"
"build": "npm install && npm ci && ncc build src/index.js -o dist --source-map --license licenses.txt"
}
}

0 comments on commit ad27736

Please sign in to comment.