-
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.
Showing
14 changed files
with
31,557 additions
and
2 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* @buildalon/buildalon |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
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: | ||
- uses: actions/checkout@v4 | ||
- name: buildalon/setup-steamcmd | ||
uses: ./ | ||
- run: | | ||
echo "STEAM_CMD: $STEAM_CMD" | ||
echo "STEAM_DIR: $STEAM_DIR" | ||
which steamcmd > /dev/null | ||
steamcmd +login anonymous +help +quit | ||
shell: bash |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
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,2 +1,30 @@ | ||
# setup-steamcmd | ||
A GitHub Action to setup the steamcmd command alias. | ||
# Buildalon Setup SteamCmd | ||
|
||
A GitHub Action to setup the [`steamcmd`](https://developer.valvesoftware.com/wiki/SteamCMD) command alias. | ||
|
||
## Exported Env Vars | ||
|
||
- `STEAM_CMD` the `steamcmd` directory location. | ||
- `STEAM_DIR` the steam install directory location. | ||
- `STEAM_TEMP` the temp steam directory location. | ||
|
||
## How to use | ||
|
||
```yaml | ||
jobs: | ||
validate: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ macos-latest, windows-latest, ubuntu-latest ] | ||
|
||
steps: | ||
# download and setup the steamcmd | ||
- uses: buildalon/setup-steamcmd@v1 | ||
# run commands | ||
- run: | | ||
which steamcmd | ||
steamcmd +help +quit | ||
``` | ||
For a full list of `steamcmd` commands see [this list](https://github.com/dgibbs64/SteamCMD-Commands-List/blob/main/steamcmd_commands.txt). |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Buildalon Setup StreamCmd | ||
description: A GitHub Action to setup the steamcmd command alias. | ||
branding: | ||
color: 'red' | ||
icon: 'terminal' | ||
runs: | ||
using: 'node20' | ||
main: 'dist/index.js' | ||
post: 'dist/index.js' |
Oops, something went wrong.