mirror of https://github.com/marcosfad/mbp-ubuntu
Update CI.yml
This commit is contained in:
parent
d1e369ef46
commit
e932cdf6d8
|
@ -19,13 +19,13 @@ jobs:
|
||||||
echo "ver=${VERSION}" >> $GITHUB_ENV
|
echo "ver=${VERSION}" >> $GITHUB_ENV
|
||||||
echo "release=${REL}" >> $GITHUB_ENV
|
echo "release=${REL}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: 'Checkout mainline-16,4 Repo'
|
- name: 'Checkout kubuntuMainline-16,4 Repo'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: mainline-16,4
|
ref: kubuntuMainline-16,4
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: 'Push new version to mainline-16,4'
|
- name: 'Push new version to kubuntuMainline-16,4'
|
||||||
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
|
||||||
|
@ -37,7 +37,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: mainline-16,4
|
branch: kubuntuMainline-16,4
|
||||||
|
|
||||||
ISO:
|
ISO:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
@ -85,7 +85,7 @@ jobs:
|
||||||
ls -l
|
ls -l
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
if: github.ref == 'refs/heads/mainline'
|
if: github.ref == 'refs/heads/kubuntuMainline'
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: ${{ github.workspace }}/ISO/*.tar.gz
|
files: ${{ github.workspace }}/ISO/*.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue