Bump tauri-plugin-shell from 2.2.0 to 2.2.1 in /src-tauri in the carg… #523
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: Publish Development | |
on: | |
push: | |
branches: ["main"] | |
permissions: write-all | |
env: | |
CLOUD_CLIENT_ID: OuFa4OeeKveeRq1G6xIPgrl6EBUJtxLR | |
CLOUD_CALLBACK_URL_DEV: https://dev.surrealist.app/cloud/callback | |
SCOUT_COPILOT_ID: copilot_cm3gcpzxw00020cs66takkem5 | |
SCOUT_WORKFLOW_ID: wf_cm3gbr8vk00010ds6b1g0vnvv | |
INTERCOM_APP_ID: xaac4vhr | |
jobs: | |
version: | |
name: Extract version | |
runs-on: ubuntu-latest | |
outputs: | |
version: ${{ steps.extract.outputs.version }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup jq | |
uses: dcarbone/install-jq-action@v2 | |
- name: Extract package version | |
id: extract | |
run: | | |
echo "version=$(jq -r '.version' package.json)" >> "$GITHUB_OUTPUT" | |
build-web: | |
name: Build Web | |
runs-on: "ubuntu-latest" | |
needs: | |
- version | |
steps: | |
- name: Information | |
run: echo "Building Surrealist version ${{ needs.version.outputs.version }} for web" | |
- name: Code checkout | |
uses: actions/checkout@v3 | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.2.8 | |
- name: Frontend dependencies | |
run: bun install | |
- name: Generate license report | |
run: bun run license-report | |
- name: Build application | |
run: bun run build | |
env: | |
VITE_SURREALIST_PREVIEW: "true" | |
VITE_CLOUD_CLIENT_ID: ${{ env.CLOUD_CLIENT_ID }} | |
VITE_CLOUD_CALLBACK_URL: ${{ env.CLOUD_CALLBACK_URL_DEV }} | |
VITE_SCOUT_COPILOT_ID: ${{ env.SCOUT_COPILOT_ID }} | |
VITE_SCOUT_WORKFLOW_ID: ${{ env.SCOUT_WORKFLOW_ID }} | |
VITE_INTERCOM_APP_ID: ${{ env.INTERCOM_APP_ID }} | |
- uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-region: us-west-2 | |
aws-access-key-id: ${{ secrets.AMAZON_ACCESS_KEY }} | |
aws-secret-access-key: ${{ secrets.AMAZON_SECRET_KEY }} | |
- name: Upload web app | |
run: make deploy-dev |