Move test action to default workflow folder
This commit is contained in:
27
.gitea/workflows/manual.yaml
Normal file
27
.gitea/workflows/manual.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Test
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
issue_comment:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.pull_request != '' || github.event.pusher != '' || github.event.comment.body == '!actions run build' || github.event.comment.body == '!actions run all' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Run
|
||||
run: |
|
||||
echo Tada!
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.pull_request != '' || github.event.pusher != '' || github.event.comment.body == '!actions run test' || github.event.comment.body == '!actions run all' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Run
|
||||
run: |
|
||||
echo Moaar test!
|
||||
Reference in New Issue
Block a user