|
@@ -22,10 +22,12 @@ jobs:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-depth: 0
|
|
- - uses: actions/setup-node@v1
|
|
|
|
|
|
+ - uses: actions/setup-node@v2
|
|
with:
|
|
with:
|
|
node-version: 14
|
|
node-version: 14
|
|
registry-url: "https://registry.npmjs.org"
|
|
registry-url: "https://registry.npmjs.org"
|
|
|
|
+ cache: yarn
|
|
|
|
+ cache-dependency-path: tooling/*/yarn.lock
|
|
- name: cargo login
|
|
- name: cargo login
|
|
run: cargo login ${{ secrets.crate_token }}
|
|
run: cargo login ${{ secrets.crate_token }}
|
|
- name: git config
|
|
- name: git config
|
|
@@ -125,7 +127,7 @@ jobs:
|
|
|
|
|
|
- uses: iamsauravsharma/create-dotenv@v1.1.0
|
|
- uses: iamsauravsharma/create-dotenv@v1.1.0
|
|
with:
|
|
with:
|
|
- directory: './tauri-search-bot'
|
|
|
|
|
|
+ directory: "./tauri-search-bot"
|
|
env:
|
|
env:
|
|
ENV_KEY_DISCORD_BOT_SECRET: ${{ secrets.DISCORD_BOT_SECRET }}
|
|
ENV_KEY_DISCORD_BOT_SECRET: ${{ secrets.DISCORD_BOT_SECRET }}
|
|
ENV_KEY_PREFIX: \!
|
|
ENV_KEY_PREFIX: \!
|