diff --git a/.github/workflows/build_and_release.yaml b/.github/workflows/build_and_release.yaml index 84cb226660c..dd045c7a4b3 100644 --- a/.github/workflows/build_and_release.yaml +++ b/.github/workflows/build_and_release.yaml @@ -1,32 +1,32 @@ -name: Auto Upload Uniswap Exchange production build +# name: Auto Upload Uniswap Exchange production build -on: - push: - branches: - - build-test +# on: +# push: +# branches: +# - build-test -jobs: - build_and_upload: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v1 - - name: Create production build - run: | - npm install - npm run build - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: New Release ${{ github.ref }} - draft: false - prerelease: false - - name: Archive production artifacts - uses: actions/upload-artifact@v1 - with: - name: build - path: ./build/* +# jobs: +# build_and_upload: +# runs-on: ubuntu-latest +# steps: +# - name: Checkout repository +# uses: actions/checkout@v1 +# - name: Create production build +# run: | +# npm install +# npm run build +# - name: Create Release +# id: create_release +# uses: actions/create-release@v1 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token +# with: +# tag_name: ${{ github.ref }} +# release_name: New Release ${{ github.ref }} +# draft: false +# prerelease: false +# - name: Archive production artifacts +# uses: actions/upload-artifact@v1 +# with: +# name: build +# path: ./build/* diff --git a/.github/workflows/other_release.yaml b/.github/workflows/other_release.yaml index 098e0440fdf..d157a8fc3ff 100644 --- a/.github/workflows/other_release.yaml +++ b/.github/workflows/other_release.yaml @@ -1,31 +1,31 @@ -name: 'Build and upload as release' +# name: 'Prebuilt release' -on: - push: - tags: - - 'v*' +# on: +# push: +# tags: +# - 'v*' -jobs: - pre-release: - name: 'Release' - runs-on: 'ubuntu-latest' +# jobs: +# pre-release: +# name: 'Release' +# runs-on: 'ubuntu-latest' - steps: - # ... - - name: Checkout repository - uses: actions/checkout@v1 - - name: Create production build - run: | - npm install - npm run build - - name: 'Build & test' - run: | - echo "done!" - - uses: 'marvinpinto/action-automatic-releases@latest' - with: - repo_token: '${{ secrets.GITHUB_TOKEN }}' - # automatic_release_tag: 'latest' - prerelease: false - title: 'Production Build' - files: | - ./build/* +# steps: +# # ... +# - name: Checkout repository +# uses: actions/checkout@v1 +# - name: Create production build +# run: | +# npm install +# npm run build +# - name: 'Build & test' +# run: | +# echo "done!" +# - uses: 'marvinpinto/action-automatic-releases@latest' +# with: +# repo_token: '${{ secrets.GITHUB_TOKEN }}' +# # automatic_release_tag: 'latest' +# prerelease: false +# title: 'Production Build' +# files: | +# ./build/* diff --git a/.github/workflows/total.yaml b/.github/workflows/total.yaml index b07cf89c7b3..11d5911d08c 100644 --- a/.github/workflows/total.yaml +++ b/.github/workflows/total.yaml @@ -1,8 +1,8 @@ on: push: # Sequence of patterns matched against refs/tags - branches: - - 'build-test' + tags: + - 'v*' name: Upload Release Asset