chore: turn off binary release for pushes to main
parent
2b5152f734
commit
41046f8324
|
|
@ -5,11 +5,6 @@ on:
|
|||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
- 'Cargo.toml'
|
||||
- 'Cargo.lock'
|
||||
- 'crates/**'
|
||||
pull_request:
|
||||
branches: ["main" ]
|
||||
paths:
|
||||
|
|
@ -108,16 +103,10 @@ jobs:
|
|||
- name: Download all artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
|
||||
- name: Generate tag name
|
||||
env:
|
||||
REF_NAME: ${{ github.ref_name }}
|
||||
run: |
|
||||
echo "TAG_NAME=$(echo $REF_NAME | sed 's/main/nightly/g')" >>${GITHUB_ENV}
|
||||
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
allowUpdates: true
|
||||
prerelease: true
|
||||
artifacts: "tabby_*/tabby_*"
|
||||
tag: ${{ env.TAG_NAME }}
|
||||
tag: ${{ github.ref_name }}
|
||||
removeArtifacts: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue