diff --git a/.ci/env b/.ci/env index b018aeb..66dc878 100644 --- a/.ci/env +++ b/.ci/env @@ -1,4 +1,7 @@ # pipeline config PROJECT_TYPE=golang +PACKAGE_TYPE=bintray +PUBLISH_TYPE=bintray + +# artifact generation ARTIFACT_BUILD_ARCHS=linux_386,linux_amd64,windows_386,windows_amd64,darwin_386,darwin_amd64 -DEPLOYMENT_TYPE=bintray \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 496c2e9..45722e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,26 +24,27 @@ jobs: # prepare environment - name: Environment Setup run: | - curl https://raw.githubusercontent.com/EnvCLI/modular-pipeline/master/install.sh | sudo bash + curl -L -s https://raw.githubusercontent.com/EnvCLI/modular-pipeline/master/install-prerequisites.sh | sudo bash -s + curl -L -s https://raw.githubusercontent.com/EnvCLI/modular-pipeline/master/install.sh | sudo bash -s /usr/local # pipeline steps - name: Prepare run: | - stage-prepare + mpi stage prepare - name: Build run: | - stage-build + mpi stage build - name: Test run: | - stage-test + mpi stage test - name: Package run: | - stage-package + mpi stage package - name: Audit run: | - stage-audit + mpi stage audit - name: Performance run: | - stage-performance + mpi stage performance - name: CleanUp run: | - stage-cleanup + mpi stage cleanup diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be4a547..f20c1b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,23 +23,24 @@ jobs: # prepare environment - name: Environment Setup run: | - curl https://raw.githubusercontent.com/EnvCLI/modular-pipeline/master/install.sh | sudo bash + curl -L -s https://raw.githubusercontent.com/EnvCLI/modular-pipeline/master/install-prerequisites.sh | sudo bash -s + curl -L -s https://raw.githubusercontent.com/EnvCLI/modular-pipeline/master/install.sh | sudo bash -s /usr/local # pipeline steps - name: Prepare run: | - stage-prepare + mpi stage prepare - name: Build env: UPX_ENABLE: "true" UPX_ARGS: --brute run: | - stage-build + mpi stage build - name: Test run: | - stage-test + mpi stage test - name: Package run: | - stage-package + mpi stage package - name: Publish env: BINTRAY_ORGANZATION: envcli @@ -48,13 +49,13 @@ jobs: BINTRAY_USERNAME: philippheuer BINTRAY_TOKEN: ${{ secrets.BINTRAY_TOKEN }} run: | - stage-publish + mpi stage publish - name: Audit run: | - stage-audit + mpi stage audit - name: Performance run: | - stage-performance + mpi stage performance - name: CleanUp run: | - stage-cleanup + mpi stage cleanup