Skip to content

Commit

Permalink
Add lingmo-workspace-base (#29)
Browse files Browse the repository at this point in the history
* Add DTK2

* Added auto push

* Fix format

* Adding lingmo-workspace-base

* Disable upload for pr

* !(github.event_name == 'pull_request') &&

* Fix branch name
  • Loading branch information
elysia-best authored Oct 18, 2024
1 parent 8b0021d commit 4a36907
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ jobs:
compression-level: 9 # maximum compression

- name: Prepare envs
if: ${{ matrix.devbuild == 'enabled' }}
if: ${{ !(github.event_name == 'pull_request') && matrix.devbuild == 'enabled' }}
run: |
sudo apt update && sudo apt install reprepro gnupg
echo "${{ secrets.GPG_SIGN_KEY }}" >> key.key
gpg --import key.key
- name: Clone & Update repo
if: ${{ matrix.devbuild == 'enabled' }}
if: ${{ !(github.event_name == 'pull_request') && matrix.devbuild == 'enabled' }}
run: |
git clone https://github.com/LingmoOS/lingmo-nightly-build.git pkg_site
DEB_FILE_DIR="$(pwd)/BuildArtifacts"
Expand All @@ -84,13 +84,13 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "Lingmo Automation Packer"
git add . && git commit -m "Update Packages By Actions"
git branch -D master
git branch -m master
git branch -D main
git branch -m main
cd ..
- name: Push changes
if: ${{ matrix.devbuild == 'enabled' }}
if: ${{ !(github.event_name == 'pull_request') && matrix.devbuild == 'enabled' }}
uses: ad-m/github-push-action@9870d48124da805820c70ebc6ba563c715551019
with:
github_token: ${{ secrets.API_GITHUB_TOKEN }}
Expand Down
6 changes: 6 additions & 0 deletions Configs/lingmo-workspace-base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"Name": "lingmo-workspace-base",
"Repository": "https://github.com/LingmoOS/lingmo-workspace-base.git",
"BuildType": "Debian",
"Tag": "2.0.1-0"
}

0 comments on commit 4a36907

Please sign in to comment.