chore(identifier): use identifier matching the github repository (#303) #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Ensures caches are fresh for trunk and tauri-cli" | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
# On main, we want all builds to complete even if merging happens faster to make it easier to discover at which point something broke. | |
group: ${{ github.ref == 'refs/heads/main' && format('ci-main-{0}', github.sha) || format('ci-{0}', github.ref) }} | |
jobs: | |
build-tauri: | |
permissions: | |
contents: write | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: cached install cargo-make (ubuntu only) | |
if: contains(matrix.platform, 'ubuntu') | |
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1 | |
with: | |
tool: cargo-make | |
locked: true | |
- name: cached install trunk | |
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1 | |
with: | |
tool: trunk | |
locked: true | |
- name: cached install tauri-cli | |
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1 | |
with: | |
tool: tauri-cli@2.0.0 | |
locked: true |