mirror of https://github.com/marcosfad/mbp-ubuntu
Update CI.yml
This commit is contained in:
parent
145818d8ad
commit
a35ab7cf22
|
@ -8,7 +8,7 @@ jobs:
|
||||||
Mainline:
|
Mainline:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout Jammy Repo'
|
- name: 'Checkout LTS Repo'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
|
@ -41,7 +41,7 @@ jobs:
|
||||||
Kubuntu:
|
Kubuntu:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout Jammy Repo'
|
- name: 'Checkout LTS Repo'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
|
@ -51,13 +51,13 @@ jobs:
|
||||||
echo "ver=${VERSION}" >> $GITHUB_ENV
|
echo "ver=${VERSION}" >> $GITHUB_ENV
|
||||||
echo "release=${REL}" >> $GITHUB_ENV
|
echo "release=${REL}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 'Checkout kubuntuJammy Repo'
|
- name: 'Checkout kubuntuLTS Repo'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: kubuntuJammy
|
ref: kubuntuLTS
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: 'Push new version to kubuntuJammy'
|
- name: 'Push new version to kubuntuLTS'
|
||||||
id: publish
|
id: publish
|
||||||
run: |
|
run: |
|
||||||
sed -i "s/KERNEL_VERSION=6.*/KERNEL_VERSION=${{ env.ver }}/g" build.sh
|
sed -i "s/KERNEL_VERSION=6.*/KERNEL_VERSION=${{ env.ver }}/g" build.sh
|
||||||
|
@ -69,7 +69,7 @@ jobs:
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.PAT }}
|
github_token: ${{ secrets.PAT }}
|
||||||
branch: kubuntuJammy
|
branch: kubuntuLTS
|
||||||
|
|
||||||
ISO:
|
ISO:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
@ -121,7 +121,7 @@ jobs:
|
||||||
sudo cp ${{ github.workspace }}/.github/workflows/iso.sh ${{ github.workspace }}/output/iso.sh
|
sudo cp ${{ github.workspace }}/.github/workflows/iso.sh ${{ github.workspace }}/output/iso.sh
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
if: github.ref == 'refs/heads/jammy'
|
if: github.ref == 'refs/heads/LTS'
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
#files: ${{ github.workspace }}/ISO/*.tar.gz
|
#files: ${{ github.workspace }}/ISO/*.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue