Compare commits
11 Commits
v0.2
...
env-variables
| Author | SHA1 | Date | |
|---|---|---|---|
| 264c4c008d | |||
| 6e93d2526a | |||
| 5f49386817 | |||
| cdf7368cc8 | |||
| eeee33e584 | |||
| a8108f8532 | |||
| 57082ee51f | |||
| 5dd225a0cc | |||
| b3d32d4c2b | |||
| a57fcabf73 | |||
| 7ed3e250df |
@@ -2,19 +2,22 @@ name: RCON Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ env-variables ]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
DAY_OF_WEEK: Monday
|
||||
|
||||
jobs:
|
||||
rcon_test:
|
||||
runs-on: ubuntu-latest
|
||||
name: RCON Test
|
||||
name: RCON Test Dev
|
||||
steps:
|
||||
- name: RCON Connection
|
||||
uses: Plagiatus/RCON-Action@v0.1
|
||||
uses: Plagiatus/RCON-Action@v0.2
|
||||
with:
|
||||
server: ${{ secrets.rcon_server }}
|
||||
port: ${{ secrets.rcon_port }}
|
||||
password: ${{ secrets.rcon_password }}
|
||||
commands: '["say hi", "reload"]'
|
||||
commands: '["tellraw @a [{\"text\":\"${{env.DAY_OF_WEEK}}\"}]", "say ref: ${{ github.ref }}", "say ip ${{ secrets.rcon_server }}", "say actor ${{ github.actor }}", "reload"]'
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ inputs:
|
||||
description: Changes the selector of who should be getting the server info.
|
||||
default: "@a"
|
||||
runs:
|
||||
using: node12
|
||||
using: node16
|
||||
main: index.js
|
||||
branding:
|
||||
icon: arrow-right-circle
|
||||
|
||||
Reference in New Issue
Block a user