Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added DTK2 form GXDE #28

Merged
merged 4 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,39 @@ jobs:
name: Lingmo Artifacts With Nightly ${{ matrix.devbuild }}
path: BuildArtifacts
compression-level: 9 # maximum compression

- name: Prepare envs
if: ${{ 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' }}
run: |
git clone https://github.com/LingmoOS/lingmo-nightly-build.git pkg_site
DEB_FILE_DIR="$(pwd)/BuildArtifacts"

cd pkg_site
git checkout --orphan latest_branch

bash ./add_debs.sh $DEB_FILE_DIR $(pwd) "nightly"

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

cd ..

- name: Push changes
if: ${{ matrix.devbuild == 'enabled' }}
uses: ad-m/github-push-action@9870d48124da805820c70ebc6ba563c715551019
with:
github_token: ${{ secrets.API_GITHUB_TOKEN }}
repository: "LingmoOS/lingmo-nightly-build"
directory: "./pkg_site"
branch: 'main'
force: true
6 changes: 6 additions & 0 deletions Configs/dtk2core.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"Name": "dtk2core",
"Repository": "https://gitee.com/GXDE-OS/dtk2core.git",
"Tag": "2.2.5",
"BuildType": "Debian"
}
6 changes: 6 additions & 0 deletions Configs/dtk2widget.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"Name": "dtk2widget",
"Repository": "https://gitee.com/GXDE-OS/dtk2widget.git",
"Tag": "2.2.5.8-1",
"BuildType": "Debian"
}
Loading