Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
feat: add f39 build + builds for asus framework (...) and GTS
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Dec 27, 2023
1 parent d2efa93 commit fb930db
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
32 changes: 25 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and Push Image
on:
pull_request:
merge_group:
merge_group:
schedule:
- cron: '20 22 * * *' # 10:20pm everyday
workflow_dispatch:
Expand All @@ -20,13 +20,21 @@ jobs:
strategy:
fail-fast: false
matrix:
image_flavor: [main, nvidia]
major_version: [38]
image_flavor: [main, nvidia, asus, asus-nvidia, framework, surface, surface-nvidia]
major_version: [38, 39]
include:
- major_version: 39
is_latest_version: true
is_stable_version: false
is_gts_version: false
- major_version: 38
is_latest_version: false
is_latest_version: true
is_stable_version: true
steps:
is_gts_version: true
steps:
- name: Maximize build space
uses: ublue-os/remove-unwanted-software@v6

# Checkout push-to-registry action GitHub repository
- name: Checkout Push to Registry action
uses: actions/checkout@v4
Expand Down Expand Up @@ -63,6 +71,8 @@ jobs:
if [[ "${{ matrix.is_latest_version }}" == "true" ]] && \
[[ "${{ matrix.is_stable_version }}" == "true" ]]; then
BUILD_TAGS+=("latest")
elif [[ "${{ matrix.is_gts_version }}" == "true" ]]; then
BUILD_TAGS+=("gts")
fi
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
Expand Down Expand Up @@ -96,7 +106,7 @@ jobs:
labels: |
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
org.opencontainers.image.version=${{ steps.labels.outputs.VERSION }}
org.opencontainers.image.description=
org.opencontainers.image.description=A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features
io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/deepin/deepin/README.md
io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4
Expand Down Expand Up @@ -167,4 +177,12 @@ jobs:
if: github.event_name != 'pull_request'
run: |
echo "${{ toJSON(steps.push.outputs) }}"
check:
name: Check all builds successful
runs-on: ubuntu-latest
needs: [push-ghcr]
steps:
- name: Exit
shell: bash
run: exit 0
5 changes: 3 additions & 2 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"deepin-file-manager",
"deepin-icon-theme",
"deepin-gtk-theme",
"deepin-topbar",
"deepin-kwin",
"deepin-launcher",
"deepin-menu",
Expand Down Expand Up @@ -77,7 +76,9 @@
},
"38": {
"include": {
"all": []
"all": [
"deepin-topbar"
]
},
"exclude": {
"all": []
Expand Down

0 comments on commit fb930db

Please sign in to comment.