You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
gh api --method DELETE "/repos/${{ github.repository }}/git/refs/tags/$latest_nightly_tag"
65
+
else
66
+
echo "No previous nightly tag found."
67
+
fi
68
+
env:
69
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69
70
70
71
create_prerelease:
71
72
runs-on: ubuntu-latest
72
73
needs: delete_previous_prerelease
73
74
steps:
74
-
- name: Checkout Repository
75
-
uses: actions/checkout@v4
76
-
with:
77
-
ref: development
75
+
- name: Checkout Repository
76
+
uses: actions/checkout@v4
77
+
with:
78
+
ref: development
78
79
79
-
- name: Download Build Artifacts
80
-
uses: actions/download-artifact@v4
81
-
with:
82
-
name: nightly-build
83
-
path: ./artifacts
80
+
- name: Download Build Artifacts
81
+
uses: actions/download-artifact@v4
82
+
with:
83
+
name: nightly-build
84
+
path: ./artifacts
84
85
85
-
- name: Create new prerelease
86
-
run: |
87
-
short_commit=$(git rev-parse --short HEAD)
88
-
date=$(date +'%Y%m%d')
89
-
tag_name="nightly-${date}-${short_commit}"
90
-
gh release create "$tag_name" -p -t "Nightly Build ${short_commit}" -n "This is an automated nightly build. It is a development version and not stable." --target development
gh release create "$tag_name" -p -t "Nightly Build ${short_commit}" -n "This is an automated nightly build. It is a development version and not stable." --target development
0 commit comments