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