-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (31 loc) · 896 Bytes
/
Copy pathnightly.yml
File metadata and controls
35 lines (31 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Nightly Release
on:
workflow_dispatch: # push disabled — re-enable when nightly is ready
# push:
# branches:
# - main
permissions:
contents: read
jobs:
delete_tag:
permissions:
contents: write
runs-on: cx-public-ubuntu-x64
steps:
- name: Delete release and tag
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release delete "1.0.0-SNAPSHOT" --yes --cleanup-tag --repo ${{ github.repository }} || true
nightly:
needs: delete_tag
uses: ./.github/workflows/release.yml
with:
tag: "1.0.0-SNAPSHOT"
dev: true
cliTag: "2.0.0-nightly"
secrets:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}