Skip to content

Commit

Permalink
Merge pull request #1 from ynab/update-after-fork
Browse files Browse the repository at this point in the history
Misc update after forking
  • Loading branch information
bradymholt authored Feb 24, 2023
2 parents 604242e + d212277 commit 59ce0c7
Show file tree
Hide file tree
Showing 17 changed files with 423 additions and 1,076 deletions.
10 changes: 0 additions & 10 deletions .github/dependabot.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: CI
on: [pull_request]

env:
node-version: 16

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -19,7 +17,6 @@ jobs:
- name: Run lint
run: |
npm run lint
test:
strategy:
matrix:
Expand Down
71 changes: 0 additions & 71 deletions .github/workflows/nigthly.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/package.yml

This file was deleted.

1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 16.19.0
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

3 changes: 3 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Development

To publish a new version, run `npm run package`, commit, push, create a new release tag, and then publish the release as the latest for Marketplace listing.
21 changes: 7 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# GitHub Actions runner OS system information
# System Info GitHub Action

[![Release](https://img.shields.io/github/v/release/kenchan0130/actions-system-info)](https://github.com/kenchan0130/actions-system-info/releases)
[![Nigthly](https://github.com/kenchan0130/actions-system-info/workflows/Nigthly/badge.svg)](https://github.com/kenchan0130/actions-system-info/actions?query=workflow%3ANigthly)
This action provides GitHub Actions runner OS information

This action provides GitHub Actions runner OS information.
This repository was forked from https://github.com/ynab/system-info-action. Please consider [sponsoring](https://github.com/sponsors/kenchan0130) the original author.

## Outputs

Expand All @@ -18,21 +17,15 @@ Name|Description
`release`|The operating system (distribution) release
`totalmem`|the total amount of system memory in bytes

If you want to see the specific output contents for each OS, you can check them at [here](https://github.com/kenchan0130/actions-system-info/actions/workflows/nigthly.yml).

## Example usage

```yaml
steps:
- uses: actions/checkout@v2
- uses: kenchan0130/actions-system-info@master
- uses: ynab/system-info-action@v1
id: system-info
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-${{ steps.system-info.outputs.release }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-${{ steps.system-info.outputs.release }}-node-
```
The cache may be affected by internal changes in the OS version of the runner.
In this example, adding the OS version of the runner to the key may solve this problem.
restore-keys: ${{ runner.os }}-${{ steps.system-info.outputs.release }}-node
```
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "GitHub Actions runner OS system information"
description: "This action provides GitHub Actions runner OS information."
name: "System Info GitHub Action"
description: "This action provides GitHub Actions runner OS information"
branding:
icon: 'server'
color: 'gray-dark'
color: 'blue'

outputs:
cpu-core:
Expand All @@ -23,5 +23,5 @@ outputs:
description: "the total amount of system memory in bytes"

runs:
using: "node12"
using: "node16"
main: "lib/index.js"
13 changes: 0 additions & 13 deletions lib/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -395,19 +395,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.


macos-release
MIT
MIT License

Copyright (c) Sindre Sorhus <[email protected]> (https://sindresorhus.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


merge-stream
MIT
The MIT License (MIT)
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Loading

0 comments on commit 59ce0c7

Please sign in to comment.