Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Gmod Steam Workshop

Actions
Publishes a Garrys Mod addon to the Steam Workshop
V2.1
By Earu
Star (12)

A GitHub action that publishes your Garry's Mod addon to the Steam Workshop.

Usage

This action has 5 parameters so far which are account-name, account-password, workshop-id and addon-path.

  • account-name [required] is the Steam account name of the account the action is going to use.

  • account-password [required] is the Steam password of the account the action is going to use.

  • workshop-id [required] is the Steam handle corresponding to your workshop addon, this parameter is used to update the right addon.

  • addon-path [optional] lets you target which path your addon files are under.

Note: This uses gmodws for workshop publishing.

Note 2: Because we are in an environment where input is not possible, we can only login to Steam without SteamGuard.

Example Action

name: CI

on:
  push:
    branches: [ master ]
  workflow_dispatch:

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - name: Checkout
        uses: actions/checkout@v2

      # Creates a GMA and publishes it to the Steam Workshop
      - name: Publish to Steam Workshop
        uses: Earu/GSW-action@V1.0
        with:
          account-name: ${{secrets.STEAM_NAME}}
          account-password: ${{secrets.STEAM_PASSWORD}}
          workshop-id: '1182471500'
          addon-path: ${{env.GITHUB_WORKSPACE}}

Gmod Steam Workshop is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Publishes a Garrys Mod addon to the Steam Workshop
V2.1
By Earu

Gmod Steam Workshop is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.