Skip to content

Commit

Permalink
setup-steamcmd@v1.2.1 (#11)
Browse files Browse the repository at this point in the history
- docs and log tweaks
  • Loading branch information
StephenHodgson authored Aug 12, 2024
1 parent 1fe7e08 commit 01cbd50
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 21 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,28 @@
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 }}

jobs:
validate:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]

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

- uses: actions/checkout@v4
- name: RageAgainstThePixel/setup-steamcmd
uses: ./

- run: |
echo "STEAM_CMD: $STEAM_CMD"
echo "STEAM_DIR: $STEAM_DIR"
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.cache/
node_modules
5 changes: 2 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: 'Setup streamcmd'
description: 'Sets up steamcmd for Github Action Runners'
description: A GitHub Action to setup the steamcmd command alias.
branding:
icon: 'box'
color: 'blue'

icon: 'terminal'
runs:
using: 'node20'
main: 'dist/index.js'
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30907,7 +30907,7 @@ const main = async () => {
core.setFailed(error);
}
} else {
core.info('Dumping steamcmd logs...');
core.info('steamcmd logs:');
await logging.PrintLogs(process.env.STEAM_TEMP);
if (process.platform === 'win32') {
await logging.PrintLogs(process.env.STEAM_CMD, true);
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.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "setup-steamcmd",
"version": "1.2.0",
"description": "Sets up steamcmd for Github Action Runners",
"version": "1.2.1",
"description": "A GitHub Action to setup the steamcmd command alias.",
"author": "RageAgainstThePixel",
"repository": {
"type": "git",
Expand All @@ -11,7 +11,7 @@
"bugs": {
"url": "https://github.com/RageAgainstThePixel/setup-steamcmd/issues"
},
"homepage": "https://github.com/RageAgainstThePixel/setup-steamcmd#readme",
"homepage": "https://github.com/RageAgainstThePixel/setup-steamcmd",
"main": "dist/index.js",
"keywords": [
"steamcmd",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const main = async () => {
core.setFailed(error);
}
} else {
core.info('Dumping steamcmd logs...');
core.info('steamcmd logs:');
await logging.PrintLogs(process.env.STEAM_TEMP);
if (process.platform === 'win32') {
await logging.PrintLogs(process.env.STEAM_CMD, true);
Expand Down

0 comments on commit 01cbd50

Please sign in to comment.