Skip to content

Commit

Permalink
[ci] Enable tag release (sofa-framework#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul authored Apr 10, 2024
1 parent d4a3aa6 commit 1c78f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
deploy:
name: Deploy artifacts
if: always() && startsWith(github.ref, 'refs/heads/') # we are on a branch (not a PR)
if: always() && startsWith(github.repository, 'sofa-framework') && (startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/')) # we are not on a fork and on a branch or a tag (not a PR) needs: [build-and-test]
needs: [build-and-test]
runs-on: ubuntu-latest
continue-on-error: true
Expand All @@ -157,7 +157,7 @@ jobs:
name: ${{ github.ref_name }}
tag_name: release-${{ github.ref_name }}
fail_on_unmatched_files: false
target_commitish: ${{ github.ref_name }}
target_commitish: ${{ github.sha }}
files: |
artifacts/BeamAdapter_*_Linux.zip
artifacts/BeamAdapter_*_Windows.zip
Expand Down

0 comments on commit 1c78f22

Please sign in to comment.