Skip to content

Commit

Permalink
fix: Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon committed Dec 30, 2023
1 parent c391681 commit 80373eb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Change Env Value
run: |
sed -i "s/\"ALIPAN_CLIENTID\"/${{ secrets.ALIPAN_CLIENTID }}/g" src/main.rs
sed -i "s/\"ALIPAN_SECRET\"/${{ secrets.ALIPAN_SECRET }}/g" src/main.rs
sed -i "s/\"AFDIAN_USER_ID\"/${{ secrets.AFDIAN_USER_ID }}/g" src/main.rs
sed -i "s/\"AFDIAN_TOKEN\"/${{ secrets.AFDIAN_TOKEN }}/g" src/main.rs
sed -i "s/\"ALIPAN_CLIENTID\"/\"${{ secrets.ALIPAN_CLIENTID }}\"/g" src/main.rs
sed -i "s/\"ALIPAN_SECRET\"/\"${{ secrets.ALIPAN_SECRET }}\"/g" src/main.rs
sed -i "s/\"AFDIAN_USER_ID\"/\"${{ secrets.AFDIAN_USER_ID }}\"/g" src/main.rs
sed -i "s/\"AFDIAN_TOKEN\"/\"${{ secrets.AFDIAN_TOKEN }}\"/g" src/main.rs
- name: Install Rust
uses: dtolnay/rust-toolchain@stable

Expand Down

0 comments on commit 80373eb

Please sign in to comment.