From c17aab3066fdbba22e6bc72db692cc8d2052ee35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Thu, 7 Mar 2024 18:47:42 +0200 Subject: [PATCH] Adjust CI (trial and error). --- .github/workflows/create_release.yml | 55 ++++++++++++++-------------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index c9ecbd75983..4a72868d29f 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -61,6 +61,7 @@ jobs: run: | mkdir -p ${BUILD_DIR} cd ${GITHUB_WORKSPACE}/cmd/node && go build -o "${BUILD_DIR}/node" -a -ldflags="-X main.appVersion=${APP_VER}" + cd ${GITHUB_WORKSPACE}/cmd/seednode && go build -o "${BUILD_DIR}/seednode" -a -ldflags="-X main.appVersion=${APP_VER}" cd ${GITHUB_WORKSPACE}/cmd/keygenerator && go build -o "${BUILD_DIR}/keygenerator" -a -ldflags="-X main.appVersion=${APP_VER}" cd ${GITHUB_WORKSPACE}/cmd/logviewer && go build -o "${BUILD_DIR}/logviewer" -a -ldflags="-X main.appVersion=${APP_VER}" cd ${GITHUB_WORKSPACE}/cmd/termui && go build -o "${BUILD_DIR}/termui" -a -ldflags="-X main.appVersion=${APP_VER}" @@ -117,30 +118,30 @@ jobs: path: ${{ github.workspace }}/${{ env.ARCHIVE }} if-no-files-found: error - release: - needs: [build] - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v2 - - # https://docs.github.com/en/free-pro-team@latest/actions/guides/storing-workflow-data-as-artifacts#downloading-or-deleting-artifacts - # A directory for each artifact is created using its name - - name: Download all workflow run artifacts - uses: actions/download-artifact@v2 - with: - path: assets - - - name: Display structure of downloaded files - run: ls -R - working-directory: assets - - - name: Create release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - gh release create --draft --notes="Release draft from Github Actions" vNext - sleep 10 - for i in $(find ./assets -name '*.tgz' -type f); do - gh release upload vNext ${i} - done + # release: + # needs: [build] + # runs-on: ubuntu-latest + # steps: + # - name: Check out code + # uses: actions/checkout@v2 + + # # https://docs.github.com/en/free-pro-team@latest/actions/guides/storing-workflow-data-as-artifacts#downloading-or-deleting-artifacts + # # A directory for each artifact is created using its name + # - name: Download all workflow run artifacts + # uses: actions/download-artifact@v2 + # with: + # path: assets + + # - name: Display structure of downloaded files + # run: ls -R + # working-directory: assets + + # - name: Create release + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # run: | + # gh release create --draft --notes="Release draft from Github Actions" vNext + # sleep 10 + # for i in $(find ./assets -name '*.tgz' -type f); do + # gh release upload vNext ${i} + # done