mirror of https://github.com/marcosfad/mbp-ubuntu
Update CI.yml
This commit is contained in:
parent
72004bd6d2
commit
4b7eac2f8f
|
@ -15,7 +15,7 @@ jobs:
|
||||||
remove-dotnet: 'true'
|
remove-dotnet: 'true'
|
||||||
remove-haskell: 'false'
|
remove-haskell: 'false'
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build kernel with internal SSD removed
|
- name: Build kernel with internal SSD removed
|
||||||
run: |
|
run: |
|
||||||
|
@ -32,6 +32,13 @@ jobs:
|
||||||
sudo ./build.sh
|
sudo ./build.sh
|
||||||
sudo rm /tmp/artifacts/*dbg*
|
sudo rm /tmp/artifacts/*dbg*
|
||||||
sudo rm /tmp/artifacts/*libc-dev*
|
sudo rm /tmp/artifacts/*libc-dev*
|
||||||
|
|
||||||
|
- name: Upload package artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: kernel-${{ env.kerneltag }}
|
||||||
|
path: /tmp/artifacts/*
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
if: github.ref == 'refs/heads/jammy'
|
if: github.ref == 'refs/heads/jammy'
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
@ -48,7 +55,7 @@ jobs:
|
||||||
needs: [Kernel]
|
needs: [Kernel]
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: sudo ./build.sh
|
run: sudo ./build.sh
|
||||||
|
|
Loading…
Reference in New Issue