Skip to content

Commit

Permalink
ci: fixup cron
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Dec 2, 2022
1 parent e6e8f99 commit 223edb4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,29 @@ jobs:
with:
path: ~/.composer/cache/
key: composer-cache
- name: Cache cargo binaries
uses: actions/cache@v3
id: cache-mariadb-mysql-kbs
with:
path: ~/.cargo/bin/mariadb-mysql-kbs
key: ${{ runner.os }}-cargo-bin-kbs-1.3.0-rc1
- name: Set up toolchain
if: steps.cache-mariadb-mysql-kbs.outputs.cache-hit != 'true'
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.64.0
override: true
- name: Install mariadb-mysql-kbs
if: steps.cache-mariadb-mysql-kbs.outputs.cache-hit != 'true'
run: cargo install mariadb-mysql-kbs@1.3.0-rc1
- name: Install
run: |
yarn install
composer install --no-interaction
- name: Build
run: |
TODO -> run binary
mariadb-mysql-kbs extract
composer run build
- name: Install sudo-bot
run: yarn global add sudo-bot
Expand Down

0 comments on commit 223edb4

Please sign in to comment.