-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +93,9 @@ jobs: | |
upload_url: ${{ steps.create_release.outputs.upload_url }}${{ steps.create_nightly.outputs.upload_url }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Free up some storage | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
|
@@ -103,21 +106,14 @@ jobs: | |
large-packages: true | ||
swap-storage: true | ||
|
||
- name: Delete old nightly release | ||
uses: dev-drprasad/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/droidian') != true | ||
with: | ||
delete_release: true # default: false | ||
tag_name: nightly # tag name to delete | ||
- name: Nightly tag | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Tag snapshot | ||
if: startsWith(github.ref, 'refs/tags/droidian') != true | ||
uses: tvdias/[email protected] | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: nightly | ||
run: | | ||
gh release delete nightly --yes | true | ||
git push --delete origin refs/tags/nightly || true | ||
gh release create nightly | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v4 | ||
|