aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-09-19 20:15:27 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commitc08113b8900f2fc91a9fa1fa7d02229478452a7a (patch)
treea36dd5180632864eb584ff855fd7a25774265651 /.github
parent3e315c787b35ed3b6229aa88eb619255d44f6eab (diff)
downloadwee-slack-c08113b8900f2fc91a9fa1fa7d02229478452a7a.tar.gz
Build in CI and upload as artifact
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/wee-slack.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/wee-slack.yml b/.github/workflows/wee-slack.yml
index ce6080a..7decad2 100644
--- a/.github/workflows/wee-slack.yml
+++ b/.github/workflows/wee-slack.yml
@@ -2,7 +2,7 @@ name: wee-slack
on: [push, pull_request]
jobs:
- test:
+ build:
if: >
github.event_name == 'push' || (
github.event_name == 'pull_request' &&
@@ -30,3 +30,10 @@ jobs:
- run: poetry run pyright --pythonversion 3.7 main.py slack tests typings
- run: poetry run pytest tests
+
+ - run: ./build.sh
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: slack.py
+ path: build/slack.py