ci: Use pre-compiled binaries for faster CI

This commit is contained in:
azzamsa 2022-11-04 00:03:53 +07:00
parent 6add470805
commit 48eafc546f
6 changed files with 19 additions and 7 deletions

View File

@ -50,7 +50,9 @@ jobs:
# Generate critcmp files # Generate critcmp files
- name: Install critcmp - name: Install critcmp
run: cargo install critcmp uses: taiki-e/install-action@v1
with:
tool: critcmp
- name: Export cripcmp file - name: Export cripcmp file
run: | run: |
critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json

View File

@ -48,7 +48,9 @@ jobs:
# Generate critcmp files # Generate critcmp files
- name: Install critcmp - name: Install critcmp
run: cargo install critcmp uses: taiki-e/install-action@v1
with:
tool: critcmp
- name: Export cripcmp file - name: Export cripcmp file
run: | run: |
critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json

View File

@ -47,7 +47,9 @@ jobs:
# Generate critcmp files # Generate critcmp files
- name: Install critcmp - name: Install critcmp
run: cargo install critcmp uses: taiki-e/install-action@v1
with:
tool: critcmp
- name: Export cripcmp file - name: Export cripcmp file
run: | run: |
critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json

View File

@ -47,7 +47,9 @@ jobs:
# Generate critcmp files # Generate critcmp files
- name: Install critcmp - name: Install critcmp
run: cargo install critcmp uses: taiki-e/install-action@v1
with:
tool: critcmp
- name: Export cripcmp file - name: Export cripcmp file
run: | run: |
critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json

View File

@ -47,7 +47,9 @@ jobs:
# Generate critcmp files # Generate critcmp files
- name: Install critcmp - name: Install critcmp
run: cargo install critcmp uses: taiki-e/install-action@v1
with:
tool: critcmp
- name: Export cripcmp file - name: Export cripcmp file
run: | run: |
critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json critcmp --export ${{ steps.file.outputs.basename }} > ${{ steps.file.outputs.basename }}.json

View File

@ -23,8 +23,10 @@ jobs:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
override: true override: true
- name: Install sd - name: Install critcmp
run: cargo install sd uses: taiki-e/install-action@v1
with:
tool: sd
- name: Update all Cargo.toml files - name: Update all Cargo.toml files
run: | run: |
raw_new_version=$(echo $NEW_VERSION | cut -d 'v' -f 2) raw_new_version=$(echo $NEW_VERSION | cut -d 'v' -f 2)