Skip to content

Commit

Permalink
cicd: proposing different action (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue authored Feb 1, 2024
1 parent 845c077 commit a9d058a
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9d058a

Please sign in to comment.