Update CI.yml

This commit is contained in:
Aditya Garg 2023-05-03 16:56:08 +05:30 committed by GitHub
parent d1e369ef46
commit e932cdf6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -19,13 +19,13 @@ jobs:
echo "ver=${VERSION}" >> $GITHUB_ENV
echo "release=${REL}" >> $GITHUB_ENV
- name: 'Checkout mainline-16,4 Repo'
- name: 'Checkout kubuntuMainline-16,4 Repo'
uses: actions/checkout@v3
with:
ref: mainline-16,4
ref: kubuntuMainline-16,4
persist-credentials: false
- name: 'Push new version to mainline-16,4'
- name: 'Push new version to kubuntuMainline-16,4'
id: publish
run: |
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
with:
github_token: ${{ secrets.PAT }}
branch: mainline-16,4
branch: kubuntuMainline-16,4
ISO:
runs-on: ubuntu-22.04
@ -85,7 +85,7 @@ jobs:
ls -l
- name: Release
if: github.ref == 'refs/heads/mainline'
if: github.ref == 'refs/heads/kubuntuMainline'
uses: softprops/action-gh-release@v1
with:
files: ${{ github.workspace }}/ISO/*.tar.gz