diff --git a/README.md b/README.md new file mode 100644 index 0000000..1b73379 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# gmod-upload + +This is an action to upload a Garry's Mod addon to the steam workshop. + +## Example + +```yaml +name: Deploy to Workshop + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + - uses: vurv78/gmod-upload@v0.1 + with: + id: 2466875474 + changelog: "Deployment via Github to latest changes" + env: + STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} + STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} +``` + +Taken from https://github.com/Vurv78/WebAudio/blob/main/.github/workflows/deploy.yml \ No newline at end of file diff --git a/action.yml b/action.yml index a794df3..67fbd67 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,10 @@ name: "gmod-upload" description: "Packs a Garry's Mod addon to a .gma file and uploads to the Steam workshop" +branding: + icon: box + color: gray-dark + inputs: changelog: description: "Changelog"