Commit 815f710d authored by Ian Lapham's avatar Ian Lapham Committed by GitHub

Remove setup and move to root README

parent 8f4825c0
...@@ -3,9 +3,7 @@ on: ...@@ -3,9 +3,7 @@ on:
# Sequence of patterns matched against refs/tags # Sequence of patterns matched against refs/tags
tags: tags:
- 'v*' - 'v*'
name: Build and Release name: Build and Release
jobs: jobs:
build: build:
name: Global Job name: Global Job
...@@ -17,17 +15,15 @@ jobs: ...@@ -17,17 +15,15 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@master uses: actions/checkout@master
- uses: actions/setup-node@master - name: Create production build
uses: actions/setup-node@master
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
- run: npm install -g yarn - run: npm install -g yarn
- run: yarn - run: yarn
- run: yarn build - run: yarn build
env: env:
REACT_APP_FORTMATIC_KEY: ${{ secrets.REACT_APP_FORTMATIC_KEY }}
REACT_APP_NETWORK_ID: ${{ secrets.REACT_APP_NETWORK_ID }} REACT_APP_NETWORK_ID: ${{ secrets.REACT_APP_NETWORK_ID }}
REACT_APP_NETWORK_URL: ${{ secrets.REACT_APP_NETWORK_URL }}
REACT_APP_PORTIS_ID: ${{ secrets.REACT_APP_PORTIS_ID }}
- name: Create Release - name: Create Release
id: create_release id: create_release
uses: actions/create-release@v1.0.0 uses: actions/create-release@v1.0.0
...@@ -44,27 +40,13 @@ jobs: ...@@ -44,27 +40,13 @@ jobs:
filename: 'build.zip' filename: 'build.zip'
path: './build' path: './build'
exclusions: 'x' exclusions: 'x'
- uses: 'finnp/create-file-action@master'
env:
FILE_NAME: 'README.md'
FILE_DATA: "# How to Run Uniswap Locally\n1. Download build.zip and unzip\n2. Serve this folder locally (instructions [here](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server))"
- name: Upload Build - name: Upload Build
id: build-asset id: build-asset
uses: actions/upload-release-asset@v1.0.1 uses: actions/upload-release-asset@v1.0.1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build.zip asset_path: build.zip
asset_name: build.zip asset_name: build.zip
asset_content_type: application/zip asset_content_type: application/zip
- name: Upload setup
id: instructions-asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: README.md
asset_name: README.md
asset_content_type: application/zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment