-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 701 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_TERM_COLOR: always
CARGO_LOCA: "ato-cli/Cargo.toml"
CARGO_BIN: "ato-cli"
permissions:
contents: write
on:
workflow_dispatch:
push:
branches:
- "main"
paths:
- "ato-cli/Cargo.toml"
jobs:
pre:
runs-on: ubuntu-latest
outputs:
cargo_loc: ${{ env.CARGO_LOCA }}
cargo_bin: ${{ env.CARGO_BIN }}
steps:
- run: echo "Bypass GitHub Action Restriction"
call:
needs:
- pre
uses: AUTOM77/Rust-Actions/.github/workflows/ci.yml@main
with:
cargo_loc: ${{ needs.pre.outputs.cargo_loc }}
cargo_bin: ${{ needs.pre.outputs.cargo_bin }}
secrets: inherit