Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
feat: GH Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
amis92 committed Jun 27, 2020
1 parent df29842 commit efd2f40
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/chatops.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# For details and description, see https://github.com/BSData/chatops
name: ChatOps
on:
issue_comment:
types: [created]
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Checkout ChatOps repo
uses: actions/checkout@v2
with:
repository: BSData/chatops
path: chatops
- name: /command dispatch
uses: peter-evans/slash-command-dispatch@v1
with:
token: ${{ secrets.SLASH_COMMAND_DISPATCH_TOKEN }}
config-from-file: chatops/commands.json
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install wham
run: dotnet tool install wham --version 0.7.0 --tool-path ../tools
- name: Publish snapshot.bsr
run: ../tools/wham publish -f snapshot -o artifacts/snapshot --verbosity detailed
- name: Upload snapshot.bsr as workflow artifact
uses: actions/upload-artifact@v1
with:
name: snapshot
path: artifacts/snapshot
12 changes: 12 additions & 0 deletions .github/workflows/publish-catpkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This workflow adds the necessary assets to every release
# For more details, visit https://github.com/BSData/publish-catpkg
name: Publish catpkg
on:
release:
types: [ published, edited ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: BSData/publish-catpkg@v1

0 comments on commit efd2f40

Please sign in to comment.