Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
arpio23 committed Nov 25, 2023
1 parent e35a4d6 commit abccffc
Show file tree
Hide file tree
Showing 4 changed files with 245 additions and 231 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ jobs:
large-packages: true
swap-storage: true

- name: Delete old nightly release
- name: Delete old generic 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
tag_name: generic # tag name to delete
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -117,7 +117,7 @@ jobs:
uses: tvdias/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag: nightly
tag: generic

- name: Download artifacts
uses: actions/download-artifact@v3
Expand All @@ -143,13 +143,13 @@ jobs:
draft: true
prerelease: false

- name: Create nightly release
id: create_nightly
- name: Create generic release
id: create_generic
if: startsWith(github.ref, 'refs/tags/droidian') != true
uses: softprops/action-gh-release@v1
with:
files: droidian-out/SHA256SUMS
tag_name: nightly
tag_name: generic
draft: false
prerelease: true

Expand Down Expand Up @@ -183,12 +183,12 @@ jobs:
draft: true
prerelease: false

- name: Create nightly release
id: create_nightly
- name: Create generic release
id: create_generic
if: startsWith(github.ref, 'refs/tags/droidian') != true
uses: softprops/action-gh-release@v1
with:
files: droidian-out/*
tag_name: nightly
tag_name: generic
draft: false
prerelease: true
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "rootfs-templates"]
path = rootfs-templates
url = https://github.com/droidian-releng/rootfs-templates
url = https://github.com/arpio23/rootfs-templates
[submodule "android-recovery-flashing-template"]
path = android-recovery-flashing-template
url = https://github.com/droidian-releng/android-recovery-flashing-template.git
Expand Down
Loading

0 comments on commit abccffc

Please sign in to comment.