Skip to content

feature!: add support for eas cli installs#98

Merged
byCedric merged 5 commits intomasterfrom
eas-support
Jun 22, 2021
Merged

feature!: add support for eas cli installs#98
byCedric merged 5 commits intomasterfrom
eas-support

Conversation

@byCedric
Copy link
Copy Markdown
Member

@byCedric byCedric commented Jun 18, 2021

BREAKING CHANGE: Github Action inputs are changed to allow both Expo and EAS CLI.

Part of #97

@byCedric byCedric force-pushed the eas-support branch 2 times, most recently from b9aea5f to 3d01cb4 Compare June 18, 2021 20:28
@byCedric byCedric changed the title feature: add support for eas cli installs feature!: add support for eas cli installs Jun 18, 2021
Copy link
Copy Markdown
Member

@jonsamp jonsamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar enough with the code to give you code-level review, but I tried this out in a project of mine and it worked well!

Here's my action for reference:

name: update
on:
  push:
    branches: [main]

jobs:
  update:
    name: Install and update
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: 15.x
      - uses: expo/expo-github-action@eas-support
        with:
          expo-version: latest
          eas-version: latest
          token: ${{ secrets.EXPO_TOKEN }}
          expo-cache: true
          eas-cache: true
      - name: Find cache
        id: yarn-cache-dir-path
        run: echo "::set-output name=dir::$(yarn cache dir)"
      - name: Restore cache
        uses: actions/cache@v2
        with:
          path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
          key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
          restore-keys: |
            ${{ runner.os }}-yarn-
      - run: yarn install
      - run: eas branch:publish $(echo ${{ github.ref }} | sed 's_refs/heads/__') --message "${{ github.event.head_commit.message }}"

@byCedric
Copy link
Copy Markdown
Member Author

Nice, thanks for testing it! We should probably add some output helpers to get you of that ugly echo ${{ github.ref }} | sed 's_refs/heads/__'. That would probably be a follow-up thing.

Also, random sidenote, I would stick with the even-numbered node versions. The uneven are more like experiments and will be EOL soon see releases

@byCedric byCedric merged commit 19bdbf1 into master Jun 22, 2021
@byCedric byCedric deleted the eas-support branch June 22, 2021 12:45
byCedric added a commit that referenced this pull request Jun 22, 2021
* feature!: add support for eas cli installs

* refactor: update the action metadata

* docs: update documentation to include eas examples

* fix: breaking change detection for semantic release

* docs: add notion about latest eas version

BREAKING CHANGE: Github Action inputs are changed to allow both Expo and EAS CLI.
github-actions Bot pushed a commit that referenced this pull request Jun 22, 2021
## [6.0.0](5.5.1...6.0.0) (2021-06-22)

### ⚠ BREAKING CHANGES

* Github Action inputs are changed to allow both Expo and EAS CLI.

### New features

* add support for eas cli installs ([#98](#98)) ([04692c3](04692c3))

### Other chores

* update node to 14 and 16 in ci ([#100](#100)) ([a03876e](a03876e))

### Documentation changes

* add commands to contirbuting guide for updating v{major} tags ([1b57c37](1b57c37))
* update readme for v6 release ([#101](#101)) ([8b43bae](8b43bae))
* update upstream reference in contributing guide ([76ce4de](76ce4de))
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

Successfully merging this pull request may close these issues.

2 participants