mirror of
https://github.com/expo/expo-github-action.git
synced 2026-11-15 17:32:45 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe96c9dc68 | ||
|
|
a801b833a5 | ||
|
|
2c88f88370 | ||
|
|
0ce8eff16c | ||
|
|
4e2fd4d394 | ||
|
|
3f55e8c261 | ||
|
|
b8ec50268d | ||
|
|
0cfae07bbd | ||
|
|
fe86cd6f46 | ||
|
|
617ebf80c7 | ||
|
|
e6a3b5c87a |
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
---
|
||||
language: bash
|
||||
services:
|
||||
- docker
|
||||
env:
|
||||
global:
|
||||
- DOCKER_IMAGE=bycedric/expo-cli
|
||||
- DOCKER_TAG=2
|
||||
script:
|
||||
- docker build base -t $DOCKER_IMAGE:$DOCKER_TAG
|
||||
- docker run -ti --rm $DOCKER_IMAGE:$DOCKER_TAG diagnostics
|
||||
before_deploy:
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
- docker tag $DOCKER_IMAGE:$DOCKER_TAG $DOCKER_IMAGE:latest
|
||||
deploy:
|
||||
provider: script
|
||||
script: docker push $DOCKER_IMAGE:$DOCKER_TAG && docker push $DOCKER_IMAGE:latest
|
||||
on:
|
||||
branch: master
|
||||
+73
-51
@@ -1,63 +1,85 @@
|
||||
## [2.2.0](https://github.com/bycedric/ci-expo/compare/2.1.0...2.2.0) (2019-04-10)
|
||||
|
||||
### Code refactors
|
||||
|
||||
* use better expo cli variables prefix ([cd75584](https://github.com/bycedric/ci-expo/commit/cd75584))
|
||||
|
||||
### Documentation changes
|
||||
|
||||
* pin actions to versions for future releases ([3c76843](https://github.com/bycedric/ci-expo/commit/3c76843))
|
||||
|
||||
|
||||
## [2.1.0](https://github.com/bycedric/ci-expo/compare/2.0.0...2.1.0) (2019-04-10)
|
||||
|
||||
### Code refactors
|
||||
|
||||
* authenticate in main action if possible ([a401e30](https://github.com/bycedric/ci-expo/commit/a401e30))
|
||||
* remove extraneous commands from base image ([a90ce59](https://github.com/bycedric/ci-expo/commit/a90ce59))
|
||||
|
||||
### Documentation changes
|
||||
|
||||
* add deprecation notice on all sub-actions ([b5a0311](https://github.com/bycedric/ci-expo/commit/b5a0311))
|
||||
* add examples and more contextual info ([9625bb1](https://github.com/bycedric/ci-expo/commit/9625bb1))
|
||||
* fix typo in documentation and use link references ([48bbaf3](https://github.com/bycedric/ci-expo/commit/48bbaf3))
|
||||
* update license to 2019 ([7596f6b](https://github.com/bycedric/ci-expo/commit/7596f6b))
|
||||
|
||||
### Other chores
|
||||
|
||||
* add some issue templates to github ([9aec1f5](https://github.com/bycedric/ci-expo/commit/9aec1f5))
|
||||
|
||||
|
||||
## [2.0.0](https://github.com/bycedric/ci-expo/compare/906c910...2.0.0) (2019-04-02)
|
||||
## [2.3.0](https://github.com/expo/expo-github-action/compare/2.2.0...2.3.0) (2019-04-14)
|
||||
|
||||
### New features
|
||||
|
||||
* add basic ios build action ([3a81415](https://github.com/bycedric/ci-expo/commit/3a81415))
|
||||
* add basic web build action ([3d4bdb6](https://github.com/bycedric/ci-expo/commit/3d4bdb6))
|
||||
* add basic android build action ([9105177](https://github.com/bycedric/ci-expo/commit/9105177))
|
||||
* add new publish action ([56563f2](https://github.com/bycedric/ci-expo/commit/56563f2))
|
||||
* add login entrypoint ([252f16d](https://github.com/bycedric/ci-expo/commit/252f16d))
|
||||
* add github actions implemented image for expo cli ([864b9bb](https://github.com/bycedric/ci-expo/commit/864b9bb))
|
||||
* add base image with documentation and licenses ([c43e5c3](https://github.com/bycedric/ci-expo/commit/c43e5c3))
|
||||
* build docker base image from travis ci ([0ce8eff](https://github.com/expo/expo-github-action/commit/0ce8eff))
|
||||
|
||||
### Code refactors
|
||||
|
||||
* tag all buid actions as unofficial for release ([ed597e5](https://github.com/bycedric/ci-expo/commit/ed597e5))
|
||||
* simplify publish action and remove extraneous entrypoint ([61d0c21](https://github.com/bycedric/ci-expo/commit/61d0c21))
|
||||
* tag all actions as unofficial for release to marketplace ([f56443a](https://github.com/bycedric/ci-expo/commit/f56443a))
|
||||
* expand existing login with documentation and proper icon ([d2e2a6d](https://github.com/bycedric/ci-expo/commit/d2e2a6d))
|
||||
* move cli to root as default ([4545e44](https://github.com/bycedric/ci-expo/commit/4545e44))
|
||||
* expand existing login with documentation and proper icon ([923ed34](https://github.com/bycedric/ci-expo/commit/923ed34))
|
||||
* remove third party notice until its updated ([f4fc39a](https://github.com/bycedric/ci-expo/commit/f4fc39a))
|
||||
* use full node version instead of alpine ([a019c94](https://github.com/bycedric/ci-expo/commit/a019c94))
|
||||
* update base image labels ([4e2fd4d](https://github.com/expo/expo-github-action/commit/4e2fd4d))
|
||||
* remove unofficial from the name ([b8ec502](https://github.com/expo/expo-github-action/commit/b8ec502))
|
||||
* remove deprecated subactions ([0cfae07](https://github.com/expo/expo-github-action/commit/0cfae07))
|
||||
|
||||
### Documentation changes
|
||||
|
||||
* add link to login from publish action ([5b7564c](https://github.com/bycedric/ci-expo/commit/5b7564c))
|
||||
* add custom cli command action ([4cf38f9](https://github.com/bycedric/ci-expo/commit/4cf38f9))
|
||||
* add do not use in production warning ([8291794](https://github.com/bycedric/ci-expo/commit/8291794))
|
||||
* add basic repository description ([906c910](https://github.com/bycedric/ci-expo/commit/906c910))
|
||||
* add scheduled builds info and update examples ([a801b83](https://github.com/expo/expo-github-action/commit/a801b83))
|
||||
* add travis link to base image builds ([2c88f88](https://github.com/expo/expo-github-action/commit/2c88f88))
|
||||
* add 650 industries aka expo as license holder ([3f55e8c](https://github.com/expo/expo-github-action/commit/3f55e8c))
|
||||
* add 650 industries aka expo as license holder ([fe86cd6](https://github.com/expo/expo-github-action/commit/fe86cd6))
|
||||
* update references to action repository ([617ebf8](https://github.com/expo/expo-github-action/commit/617ebf8))
|
||||
* use latest npm action because of an install failure ([e6a3b5c](https://github.com/expo/expo-github-action/commit/e6a3b5c))
|
||||
|
||||
|
||||
## [2.2.0](https://github.com/expo/expo-github-action/compare/2.1.0...2.2.0) (2019-04-10)
|
||||
|
||||
### Code refactors
|
||||
|
||||
* use better expo cli variables prefix ([cd75584](https://github.com/expo/expo-github-action/commit/cd75584))
|
||||
|
||||
### Documentation changes
|
||||
|
||||
* pin actions to versions for future releases ([3c76843](https://github.com/expo/expo-github-action/commit/3c76843))
|
||||
|
||||
|
||||
## [2.1.0](https://github.com/expo/expo-github-action/compare/2.0.0...2.1.0) (2019-04-10)
|
||||
|
||||
### Code refactors
|
||||
|
||||
* authenticate in main action if possible ([a401e30](https://github.com/expo/expo-github-action/commit/a401e30))
|
||||
* remove extraneous commands from base image ([a90ce59](https://github.com/expo/expo-github-action/commit/a90ce59))
|
||||
|
||||
### Documentation changes
|
||||
|
||||
* add deprecation notice on all sub-actions ([b5a0311](https://github.com/expo/expo-github-action/commit/b5a0311))
|
||||
* add examples and more contextual info ([9625bb1](https://github.com/expo/expo-github-action/commit/9625bb1))
|
||||
* fix typo in documentation and use link references ([48bbaf3](https://github.com/expo/expo-github-action/commit/48bbaf3))
|
||||
* update license to 2019 ([7596f6b](https://github.com/expo/expo-github-action/commit/7596f6b))
|
||||
|
||||
### Other chores
|
||||
|
||||
* remove the cli from name ([ab9265b](https://github.com/bycedric/ci-expo/commit/ab9265b))
|
||||
* add some issue templates to github ([9aec1f5](https://github.com/expo/expo-github-action/commit/9aec1f5))
|
||||
|
||||
|
||||
## [2.0.0](https://github.com/expo/expo-github-action/compare/906c910...2.0.0) (2019-04-02)
|
||||
|
||||
### New features
|
||||
|
||||
* add basic ios build action ([3a81415](https://github.com/expo/expo-github-action/commit/3a81415))
|
||||
* add basic web build action ([3d4bdb6](https://github.com/expo/expo-github-action/commit/3d4bdb6))
|
||||
* add basic android build action ([9105177](https://github.com/expo/expo-github-action/commit/9105177))
|
||||
* add new publish action ([56563f2](https://github.com/expo/expo-github-action/commit/56563f2))
|
||||
* add login entrypoint ([252f16d](https://github.com/expo/expo-github-action/commit/252f16d))
|
||||
* add github actions implemented image for expo cli ([864b9bb](https://github.com/expo/expo-github-action/commit/864b9bb))
|
||||
* add base image with documentation and licenses ([c43e5c3](https://github.com/expo/expo-github-action/commit/c43e5c3))
|
||||
|
||||
### Code refactors
|
||||
|
||||
* tag all buid actions as unofficial for release ([ed597e5](https://github.com/expo/expo-github-action/commit/ed597e5))
|
||||
* simplify publish action and remove extraneous entrypoint ([61d0c21](https://github.com/expo/expo-github-action/commit/61d0c21))
|
||||
* tag all actions as unofficial for release to marketplace ([f56443a](https://github.com/expo/expo-github-action/commit/f56443a))
|
||||
* expand existing login with documentation and proper icon ([d2e2a6d](https://github.com/expo/expo-github-action/commit/d2e2a6d))
|
||||
* move cli to root as default ([4545e44](https://github.com/expo/expo-github-action/commit/4545e44))
|
||||
* expand existing login with documentation and proper icon ([923ed34](https://github.com/expo/expo-github-action/commit/923ed34))
|
||||
* remove third party notice until its updated ([f4fc39a](https://github.com/expo/expo-github-action/commit/f4fc39a))
|
||||
* use full node version instead of alpine ([a019c94](https://github.com/expo/expo-github-action/commit/a019c94))
|
||||
|
||||
### Documentation changes
|
||||
|
||||
* add link to login from publish action ([5b7564c](https://github.com/expo/expo-github-action/commit/5b7564c))
|
||||
* add custom cli command action ([4cf38f9](https://github.com/expo/expo-github-action/commit/4cf38f9))
|
||||
* add do not use in production warning ([8291794](https://github.com/expo/expo-github-action/commit/8291794))
|
||||
* add basic repository description ([906c910](https://github.com/expo/expo-github-action/commit/906c910))
|
||||
|
||||
### Other chores
|
||||
|
||||
* remove the cli from name ([ab9265b](https://github.com/expo/expo-github-action/commit/ab9265b))
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
FROM bycedric/ci-expo:2
|
||||
FROM bycedric/expo-cli:2
|
||||
|
||||
LABEL com.github.actions.name="Expo CLI (unofficial)"
|
||||
LABEL com.github.actions.name="Expo CLI"
|
||||
LABEL com.github.actions.description="Use any Expo CLI command in your GitHub Actions workflow."
|
||||
LABEL com.github.actions.icon="terminal"
|
||||
LABEL com.github.actions.color="gray-dark"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Cedric van Putten <me@bycedric.com>
|
||||
Copyright (c) 2019-present 650 Industries, Inc. (aka Expo)
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -58,13 +58,13 @@ workflow "Install and Publish" {
|
||||
}
|
||||
|
||||
action "Install" {
|
||||
uses = "actions/npm@1.0.0"
|
||||
uses = "actions/npm@master"
|
||||
args = "install"
|
||||
}
|
||||
|
||||
action "Publish" {
|
||||
needs = "Install"
|
||||
uses = "byCedric/ci-expo@2.2.0"
|
||||
uses = "expo/expo-github-action@2.3.0"
|
||||
args = "publish"
|
||||
secrets = ["EXPO_CLI_USERNAME", "EXPO_CLI_PASSWORD"]
|
||||
}
|
||||
@@ -83,13 +83,13 @@ workflow "Install and Publish" {
|
||||
}
|
||||
|
||||
action "Install" {
|
||||
uses = "actions/npm@1.0.0"
|
||||
uses = "actions/npm@master"
|
||||
args = "install"
|
||||
}
|
||||
|
||||
action "Test" {
|
||||
needs = "Install"
|
||||
uses = "actions/npm@1.0.0"
|
||||
uses = "actions/npm@master"
|
||||
args = "test"
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ action "Filter branch" {
|
||||
|
||||
action "Publish" {
|
||||
needs = "Filter branch"
|
||||
uses = "byCedric/ci-expo@2.2.0"
|
||||
uses = "expo/expo-github-action@2.3.0"
|
||||
args = "publish"
|
||||
secrets = ["EXPO_CLI_USERNAME", "EXPO_CLI_PASSWORD"]
|
||||
}
|
||||
@@ -122,19 +122,19 @@ workflow "Install, Test and Build Web" {
|
||||
}
|
||||
|
||||
action "Install" {
|
||||
uses = "actions/npm@1.0.0"
|
||||
uses = "actions/npm@master"
|
||||
args = "install"
|
||||
}
|
||||
|
||||
action "Test" {
|
||||
needs = "Install"
|
||||
uses = "actions/npm@1.0.0"
|
||||
uses = "actions/npm@master"
|
||||
args = "test"
|
||||
}
|
||||
|
||||
action "Publish" {
|
||||
needs = "Test"
|
||||
uses = "byCedric/ci-expo@2.2.0"
|
||||
uses = "expo/expo-github-action@2.3.0"
|
||||
args = "build:web"
|
||||
}
|
||||
```
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
FROM node:10
|
||||
|
||||
LABEL name="Expo for Docker"
|
||||
LABEL repository="https://github.com/bycedric/ci-expo"
|
||||
LABEL homepage="https://github.com/bycedric/ci-expo/tree/master/base"
|
||||
LABEL maintainer="Cedric van Putten <me+ci-[email protected]>"
|
||||
LABEL repository="https://github.com/expo/expo-github-action"
|
||||
LABEL homepage="https://github.com/expo/expo-github-action/blob/master/base"
|
||||
LABEL maintainer="Cedric van Putten <me+expo-action@bycedric.com>"
|
||||
|
||||
RUN npm install --global expo-cli@2 \
|
||||
&& npm cache rm --force \
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Cedric van Putten <me@bycedric.com>
|
||||
Copyright (c) 2019-present 650 Industries, Inc. (aka Expo)
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
+7
-4
@@ -1,7 +1,10 @@
|
||||
# Expo for Docker
|
||||
|
||||
[](https://travis-ci.com/expo/expo-github-action)
|
||||
|
||||
A prebuilt docker image to use the [Expo CLI][link-expo-cli] on Docker-based environments.
|
||||
This image contains all necessary libraries to perform all commands of the CLI.
|
||||
To make sure this image stays up to date, Travis CI is scheduled to run weekly builds.
|
||||
|
||||
- Based on `node:10` image
|
||||
- Contains globally installed `expo-cli@2`
|
||||
@@ -15,10 +18,10 @@ When nothing is provided, it will output the help information provided by the CL
|
||||
> The entry point uses `sh -c` to invoke Expo, making environment variables available to that command.
|
||||
|
||||
```bash
|
||||
$ docker run --rm bycedric/ci-expo
|
||||
$ docker run --rm bycedric/ci-expo pubish
|
||||
$ docker run --rm -ti bycedric/ci-expo login
|
||||
$ docker run --rm -ti --entrypoint sh bycedric/ci-expo
|
||||
$ docker run --rm bycedric/expo-cli
|
||||
$ docker run --rm bycedric/expo-cli pubish
|
||||
$ docker run --rm -ti bycedric/expo-cli login
|
||||
$ docker run --rm -ti --entrypoint sh bycedric/expo-cli
|
||||
```
|
||||
|
||||
> This image is intended to use on Docker-based CI environments, see [the Expo CI guide][link-expo-cicd] to get started.
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
FROM bycedric/ci-expo:2
|
||||
|
||||
LABEL com.github.actions.name="Build Expo Android app (unofficial)"
|
||||
LABEL com.github.actions.description="Create a standalone Android app in your GitHub Actions workflow."
|
||||
LABEL com.github.actions.icon="package"
|
||||
LABEL com.github.actions.color="gray-dark"
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh", "build:android"]
|
||||
@@ -1,21 +0,0 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Cedric van Putten <me@bycedric.com>
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
@@ -1,31 +0,0 @@
|
||||
# Expo Build Android for GitHub Actions
|
||||
|
||||
> **This sub-action is no longer required and will be removed in the next release.**
|
||||
> _See the [example workflows](../README.md#example-workflows) for more info._
|
||||
|
||||
Create a new standalone Android build from your GitHub workflow.
|
||||
Optionally, you can configure the properties of this standalone app.
|
||||
|
||||
> Make sure to [login](../login) before this step, else your workflow won't have the permission to build a new version
|
||||
|
||||
## Usage
|
||||
|
||||
Below you can see an example of a build Android action.
|
||||
|
||||
> Just like the [publish](../publish) action, you can customize the Android app.
|
||||
|
||||
```hcl
|
||||
action "Build Android app" {
|
||||
uses = "bycedric/ci-expo/build-android@master"
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
|
||||
|
||||
--- ---
|
||||
|
||||
<p align="center">
|
||||
with :heart: <a href="https://bycedric.com" target="_blank">byCedric</a>
|
||||
</p>
|
||||
@@ -1,8 +0,0 @@
|
||||
FROM bycedric/ci-expo:2
|
||||
|
||||
LABEL com.github.actions.name="Build Expo iOS app (unofficial)"
|
||||
LABEL com.github.actions.description="Create a standalone iOS app in your GitHub Actions workflow."
|
||||
LABEL com.github.actions.icon="package"
|
||||
LABEL com.github.actions.color="gray-dark"
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh", "build:ios"]
|
||||
@@ -1,21 +0,0 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Cedric van Putten <me@bycedric.com>
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
@@ -1,31 +0,0 @@
|
||||
# Expo Build iOS for GitHub Actions
|
||||
|
||||
> **This sub-action is no longer required and will be removed in the next release.**
|
||||
> _See the [example workflows](../README.md#example-workflows) for more info._
|
||||
|
||||
Create a new standalone iOS build from your GitHub workflow.
|
||||
Optionally, you can configure the properties of this standalone app.
|
||||
|
||||
> Make sure to [login](../login) before this step, else your workflow won't have the permission to build a new version
|
||||
|
||||
## Usage
|
||||
|
||||
Below you can see an example of a build iOS action.
|
||||
|
||||
> Just like the [publish](../publish) action, you can customize the iOS app.
|
||||
|
||||
```hcl
|
||||
action "Build iOS app" {
|
||||
uses = "bycedric/ci-expo/build-ios@master"
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
|
||||
|
||||
--- ---
|
||||
|
||||
<p align="center">
|
||||
with :heart: <a href="https://bycedric.com" target="_blank">byCedric</a>
|
||||
</p>
|
||||
@@ -1,8 +0,0 @@
|
||||
FROM bycedric/ci-expo:2
|
||||
|
||||
LABEL com.github.actions.name="Build Expo web bundle (unofficial)"
|
||||
LABEL com.github.actions.description="Create a bundle for web deployments from your GitHub Actions workflow."
|
||||
LABEL com.github.actions.icon="package"
|
||||
LABEL com.github.actions.color="gray-dark"
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh", "build:web"]
|
||||
@@ -1,21 +0,0 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Cedric van Putten <me@bycedric.com>
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
@@ -1,31 +0,0 @@
|
||||
# Expo Build Web for GitHub Actions
|
||||
|
||||
> **This sub-action is no longer required and will be removed in the next release.**
|
||||
> _See the [example workflows](../README.md#example-workflows) for more info._
|
||||
|
||||
Create a new app web bundle from your GitHub workflow.
|
||||
Optionally, you can configure the properties of this bundle.
|
||||
|
||||
> Authentication is not required for this step.
|
||||
|
||||
## Usage
|
||||
|
||||
Below you can see an example of a build web action.
|
||||
|
||||
> Just like the [publish](../publish) action, you can customize the web bundle.
|
||||
|
||||
```hcl
|
||||
action "Build web bundle" {
|
||||
uses = "bycedric/ci-expo/build-web@master"
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
|
||||
|
||||
--- ---
|
||||
|
||||
<p align="center">
|
||||
with :heart: <a href="https://bycedric.com" target="_blank">byCedric</a>
|
||||
</p>
|
||||
@@ -1,11 +0,0 @@
|
||||
FROM bycedric/ci-expo:2
|
||||
|
||||
LABEL com.github.actions.name="Login with Expo (unofficial)"
|
||||
LABEL com.github.actions.description="Authenticate with Expo your GitHub Actions workflow."
|
||||
LABEL com.github.actions.icon="log-in"
|
||||
LABEL com.github.actions.color="gray-dark"
|
||||
|
||||
COPY LICENSE.md README.md /
|
||||
COPY entrypoint.sh /entrypoint-login.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint-login.sh"]
|
||||
@@ -1,21 +0,0 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Cedric van Putten <me@bycedric.com>
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
@@ -1,34 +0,0 @@
|
||||
# Expo Login for GitHub Actions
|
||||
|
||||
> **This sub-action is no longer required and will be removed in the next release.**
|
||||
> _See the [example workflows](../README.md#example-workflows) for more info._
|
||||
|
||||
Authenticate the current workflow to publish new versions or create new builds.
|
||||
It works relatively simple, you define the Expo credentials, and this action will do the rest.
|
||||
|
||||
## Usage
|
||||
|
||||
First you need to define the [secrets listed below][#secrets] through [GitHub secrets](https://developer.github.com/actions/managing-workflows/storing-secrets/).
|
||||
After that, you can add the action below in your workflow.
|
||||
|
||||
```hcl
|
||||
action "Login with Expo" {
|
||||
uses = "bycedric/ci-expo/login@master"
|
||||
secrets = ["EXPO_USERNAME", "EXPO_PASSWORD"]
|
||||
}
|
||||
```
|
||||
|
||||
### Secrets
|
||||
|
||||
* `EXPO_USERNAME` - **Required**. The email address or username of the Expo account.
|
||||
* `EXPO_PASSWORD` - **Required**. The password of the Expo account.
|
||||
|
||||
## License
|
||||
|
||||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
|
||||
|
||||
--- ---
|
||||
|
||||
<p align="center">
|
||||
with :heart: <a href="https://bycedric.com" target="_blank">byCedric</a>
|
||||
</p>
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/sh -l
|
||||
|
||||
set -e
|
||||
|
||||
if [ -n "$EXPO_USERNAME" ] && [ -n "$EXPO_PASSWORD" ]; then
|
||||
expo login --username $EXPO_USERNAME --password $EXPO_PASSWORD
|
||||
else
|
||||
echo "Please define both EXPO_USERNAME and EXPO_PASSWORD."
|
||||
exit 1
|
||||
fi
|
||||
@@ -1,10 +0,0 @@
|
||||
FROM bycedric/ci-expo:2
|
||||
|
||||
LABEL com.github.actions.name="Publish to Expo (unofficial)"
|
||||
LABEL com.github.actions.description="Publish a new release to Expo in your GitHub Actions workflow."
|
||||
LABEL com.github.actions.icon="box"
|
||||
LABEL com.github.actions.color="gray-dark"
|
||||
|
||||
COPY LICENSE.md README.md /
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh", "publish"]
|
||||
@@ -1,21 +0,0 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Cedric van Putten <me@bycedric.com>
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
@@ -1,52 +0,0 @@
|
||||
# Expo Publish for GitHub Actions
|
||||
|
||||
> **This sub-action is no longer required and will be removed in the next release.**
|
||||
> _See the [example workflows](../README.md#example-workflows) for more info._
|
||||
|
||||
Publish a brand new release straight from your GitHub workflow.
|
||||
Optionally, you can configure the release channel or manifest file.
|
||||
|
||||
> Make sure to [login](../login) before this step, else your workflow won't have the permission to build a new version
|
||||
|
||||
## Usage
|
||||
|
||||
Below you can see an example of a publish action.
|
||||
By default, it will publish to the default release channel with the manifest located at `app.json`.
|
||||
|
||||
```hcl
|
||||
action "Publish to Expo" {
|
||||
uses = "bycedric/ci-expo/publish@master"
|
||||
}
|
||||
```
|
||||
|
||||
### Release channels
|
||||
|
||||
You can also use a different release channel, to test before the actual build goes live for example.
|
||||
|
||||
```hcl
|
||||
action "Publish to Expo" {
|
||||
uses = "bycedric/ci-expo/publish@master"
|
||||
args = "--release-channel staging"
|
||||
}
|
||||
```
|
||||
|
||||
### Custom manifest
|
||||
|
||||
When using non-default locations for the manifest, you can use the `--config` argument.
|
||||
|
||||
```hcl
|
||||
action "Publish to Expo" {
|
||||
uses = "bycedric/ci-expo/publish@master"
|
||||
args = "--config custom-app.json"
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
|
||||
|
||||
--- ---
|
||||
|
||||
<p align="center">
|
||||
with :heart: <a href="https://bycedric.com" target="_blank">byCedric</a>
|
||||
</p>
|
||||
Reference in new issue
Block a user