build test
Post / Publish-Cargo (push) Successful in 3m43s
Details
Post / Publish-Cargo (push) Successful in 3m43s
Details
parent
58dc811d1e
commit
30dc3d715b
@ -0,0 +1,35 @@
|
|||||||
|
name: Post
|
||||||
|
run-name: ${{ github.actor }} is posting RuleBot
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
# schedule:
|
||||||
|
# - cron: '23 */7 * * *'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Publish-Cargo:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
|
||||||
|
- run: echo "This job is now running on a ${{ runner.os }}."
|
||||||
|
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||||
|
|
||||||
|
- name: Install minimal Rust
|
||||||
|
uses: https://github.com/actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
profile: minimal
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
uses: https://github.com/actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: install
|
||||||
|
args: --index=https://git.raptorpond.com/henine/_cargo-index.git rulebot
|
||||||
|
|
||||||
|
- name: Run
|
||||||
|
env:
|
||||||
|
MASTODON_TOKEN: ${{ secrets.MASTODON_TOKEN }}
|
||||||
|
run: rulebot
|
Loading…
Reference in New Issue