Skip to content

Commit

Permalink
Update publlsh.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sevki committed Mar 14, 2024
1 parent 8c13ddc commit ada67d4
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/publlsh.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: publish
name: Publish Image

on:
push:
branches:
- main
release: true

permissions:
contents: write
Expand All @@ -17,24 +15,17 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: simple
- name: Set up okLinux environment
if: ${{ steps.release.outputs.release_created }}
run: |
./deps
cd kernel
export CHROMEOS_KERNEL_FAMILY=termina
- name: Prepare kernel configuration
if: ${{ steps.release.outputs.release_created }}
run: make olddefconfig
- name: Build kernel image
if: ${{ steps.release.outputs.release_created }}
run: make -j$(nproc) bzImage
- name: Upload Release Artifact
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./arch/x86_64/boot/bzImage

0 comments on commit ada67d4

Please sign in to comment.