From ba83bcae82ba798ce838f6d376094d8b28f6f7db Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Thu, 1 Feb 2024 15:42:06 +0100 Subject: [PATCH] cicd: proposing different action --- .github/workflows/ci_cd.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index aa2c3d0b7..784e66d69 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -247,14 +247,24 @@ jobs: - name: List artifacts run: ls -ltR /tmp/artifacts + # - name: Release to latest-dev + # uses: "marvinpinto/action-automatic-releases@latest" + # if: startsWith(github.ref, 'refs/heads/main') + # with: + # repo_token: ${{ secrets.GITHUB_TOKEN }} + # automatic_release_tag: "v${{ env.library_version }}" + # prerelease: true + # title: "v${{ env.library_version }}" + # files: | + # /tmp/artifacts/*.whl + - name: Release to latest-dev - uses: "marvinpinto/action-automatic-releases@latest" + uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/heads/main') with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - automatic_release_tag: "v${{ env.library_version }}" + tag_name: "v${{ env.library_version }}" + name: "v${{ env.library_version }}" prerelease: true - title: "v${{ env.library_version }}" files: | /tmp/artifacts/*.whl