Skip to content

Commit 0331ba9

Browse files
authored
build_generic: directly release the builds
1 parent 30392c8 commit 0331ba9

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/build_generic.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515
jobs:
1616
build:
1717
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write
1820
strategy:
1921
fail-fast: true
2022
matrix:
@@ -105,9 +107,12 @@ jobs:
105107
cp xanmod/.config config
106108
rm -rf xanmod *.gz *.dsc *.buildinfo *.changes
107109
108-
- name: Upload-Kernel
109-
uses: actions/upload-artifact@v4
110+
- name: Set Release Tag Output
111+
id: release-tag
112+
run: echo "NOW=$(date "+%y%m%d%H%M")" >> "$GITHUB_OUTPUT"
113+
114+
- name: Create Release
115+
uses: ncipollo/release-action@v1
110116
with:
111-
name: Xanmod-${{ github.event.inputs.KERNEL_VER }}-${{ github.event.inputs.LLVM_VER }}-config_x86-64-${{ matrix.config }}
112-
path: kernel/
113-
compression-level: 0
117+
artifacts: "./kernel/*"
118+
tag: xanmod-${{ github.event.inputs.KERNEL_VER }}-${{ github.event.inputs.LLVM_VER }}-x86-64-${{ matrix.config }}-${{ steps.release-tag.outputs.NOW }}

0 commit comments

Comments
 (0)