From ea05d03bb9106a247a733f9890e3285bdf1d0ec2 Mon Sep 17 00:00:00 2001 From: Aarat Nathwani Date: Mon, 9 Dec 2019 11:13:00 +0530 Subject: [PATCH] change artifact path --- .circleci/config.yml | 2 +- .github/workflows/main.yml | 2 +- Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f47c611..dd1638e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ commands: name: 'Publish Build' command: | LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`) - ghr $LATEST_TAG terraenv_linux_x64.tar.gz + ghr $LATEST_TAG dist/terraenv_linux_x64.tar.gz jobs: terraenv_build_release: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1541327..7c7112b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,6 +70,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.extract_upload_url.outputs.upload_url }} - asset_path: terraenv_osx_x64.tar.gz + asset_path: dist/terraenv_osx_x64.tar.gz asset_name: terraenv_osx_x64.tar.gz asset_content_type: application/octet-stream diff --git a/Dockerfile b/Dockerfile index a60de28..691e120 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM centos:7 RUN yum install -y https://centos7.iuscommunity.org/ius-release.rpm && \ yum update -y && \ - yum install -y python36u python36u-libs python36u-devel python36u-pip git + yum install -y python36u python36u-libs python36u-devel python36u-pip git make ADD https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz . RUN tar xvzf ghr_v0.13.0_linux_amd64.tar.gz && cd ghr_v0.13.0_linux_amd64 && \