Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eas.json contents as step output #155

Open
thgh opened this issue Jan 21, 2022 · 0 comments
Open

Add eas.json contents as step output #155

thgh opened this issue Jan 21, 2022 · 0 comments

Comments

@thgh
Copy link

thgh commented Jan 21, 2022

Description of the feature

The action could output the eas.json contents so it can be reused by other steps

Motivation

I would like to use expo publish to the production release channel

Additional context

This is my current workaround:

      - name: 🏗 Setup Expo and EAS
        uses: expo/expo-github-action@v7

      - name: 📦 Install dependencies
        run: yarn install

      - name: 🏗 Release channel
        uses: sergeysova/jq-action@v2
        id: releaseChannel
        with:
          cmd: 'jq .build.production.releaseChannel eas.json -r'

      - name: 🚀 Publish app
        run: expo publish --non-interactive --release-channel=${{ steps.releaseChannel.outputs.value }}

Suggested workflow:

      - name: 🏗 Setup Expo and EAS
        uses: expo/expo-github-action@v7
        id: expo

      - name: 📦 Install dependencies
        run: yarn install

      - name: 🚀 Publish app
        run: expo publish --non-interactive --release-channel=${{ steps.expo.eas.build.production.releaseChannel }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant