Skip to content

Commit

Permalink
update manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
khos2ow committed Jan 10, 2025
1 parent f0db58a commit 43b23a6
Showing 1 changed file with 40 additions and 18 deletions.
58 changes: 40 additions & 18 deletions .github/workflows/publish-unstable.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Publish to Unstable

on:
#################################################
# TODO
#################################################
# push:
# branches:
# - main
pull_request:
#################################################

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -21,10 +25,14 @@ jobs:
uses: regolith-linux/actions/build-matrix@main
with:
name: "${{ github.event.repository.name }}"
#################################################
# TODO
# ref: "${{ github.ref }}"
# arch: "amd64 arm64"
#################################################
ref: "${{ github.base_ref }}"
arch: "amd64" # arm64
arch: "amd64"
#################################################
stage: "unstable"

build:
Expand Down Expand Up @@ -79,17 +87,27 @@ jobs:
server-address: "${{ secrets.KAMATERA_HOSTNAME2 }}"
server-username: "${{ secrets.KAMATERA_USERNAME }}"

# - name: Update Manifest
# uses: regolith-linux/actions/update-manifest@main
# with:
# distro: "${{ matrix.distro }}"
# codename: "${{ matrix.codename }}"
# suite: "unstable"
# component: "main"
# arch: "${{ matrix.arch }}"
# server-address: "${{ secrets.KAMATERA_HOSTNAME2 }}"
# server-username: "${{ secrets.KAMATERA_USERNAME }}"
# package-name: "${{ github.event.repository.name }}"
#################################################
# TODO
#################################################
- name: Update Manifest
uses: regolith-linux/actions/update-manifest@update-manifest
with:
name: "${{ github.event.repository.name }}"
repo: "https://${{ github.repository }}.git"
ref: "${{ github.ref }}"
sha: "${{ github.sha }}"

- name: Upload Manifest
uses: regolith-linux/actions/upload-files@main
with:
upload-from: "/build/manifests/"
upload-pattern: "manifest.txt"
upload-to-base: "/opt/archives/workspace/manifests/"
upload-to-folder: "${{ matrix.distro }}/${{ matrix.codename }}/unstable-main/${{ matrix.arch }}/"
server-address: "${{ secrets.KAMATERA_HOSTNAME2 }}"
server-username: "${{ secrets.KAMATERA_USERNAME }}"
#################################################

sources:
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -129,9 +147,13 @@ jobs:
ssh-host: "${{ secrets.KAMATERA_HOSTNAME2 }}"
ssh-key: "${{ secrets.KAMATERA_SSH_KEY }}"

# - name: Publish Repo
# uses: regolith-linux/actions/publish-repo@main
# # with:
# # server-address: "${{ secrets.KAMATERA_HOSTNAME2 }}"
# # server-username: "${{ secrets.KAMATERA_USERNAME }}"
# # only-component: "unstable"
# #################################################
# # TODO
# #################################################
# - name: Publish Repo
# uses: regolith-linux/actions/publish-repo@main
# with:
# server-address: "${{ secrets.KAMATERA_HOSTNAME2 }}"
# server-username: "${{ secrets.KAMATERA_USERNAME }}"
# only-component: "unstable"
# #################################################

0 comments on commit 43b23a6

Please sign in to comment.