Skip to content

bump version

bump version #136

Workflow file for this run

name: iOS/Android Preview
on:
push:
branches:
- main
jobs:
tag-new-versions:
runs-on: ubuntu-latest
outputs:
id: ${{ steps.maybe-release.outputs.id }}
tag: ${{ steps.maybe-tag.outputs.tag }}
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Detect and Tag New Version
id: maybe-tag
uses: salsify/action-detect-and-tag-new-version@v2
- name: Create Release
id: maybe-release
if: ${{ success() && steps.maybe-tag.outputs.tag }}
uses: softprops/action-gh-release@v1
with:
name: ${{ steps.maybe-tag.outputs.tag }}
tag_name: ${{ steps.maybe-tag.outputs.tag }}
draft: true
files: |
LICENSE
preview:
name: Publish preview
needs: tag-new-versions
if: ${{ success() && needs.tag-new-versions.outputs.id }}
runs-on: ubuntu-latest
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} # Required for apps/with-sentry
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
- name: 🏗 Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: 🏗 Setup EAS
uses: expo/expo-github-action@v8
with:
expo-version: latest
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: 📦 Install dependencies
run: YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
- name: 🚀 Create preview
uses: expo/expo-github-action/preview@v8
with:
command: eas update --auto