Skip to content

Commit d7ef6bb

Browse files
committed
deb: move to build
1 parent 95b8245 commit d7ef6bb

12 files changed

Lines changed: 5 additions & 10 deletions

.github/workflows/ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,15 @@ jobs:
100100
uses: myci-actions/checkout@main
101101
- name: set PACKAGE_VERSION
102102
uses: myci-actions/export-env-var@main
103-
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
103+
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh)}
104104
- name: prepare debian package
105105
run: myci-deb-prepare.sh
106106
- name: install deps
107107
run: myci-deb-install-build-deps.sh
108108
- name: build
109109
run: |
110+
cd build
110111
dpkg-buildpackage --unsigned-source --unsigned-changes
111-
mv ../*.*deb .
112-
# - name: upload deb packages to artifacts
113-
# uses: actions/upload-artifact@v4
114-
# with:
115-
# name: ${{ matrix.os }}_${{ matrix.codename }}_${{ matrix.labels[0] }}_debs
116-
# path: "*.*deb"
117112
- name: deploy deb packages
118113
run: |
119114
echo "${{ secrets.MYCI_REPO_SSH_KEY }}" > repo_key_rsa && chmod 600 repo_key_rsa
@@ -190,7 +185,7 @@ jobs:
190185
uses: myci-actions/checkout@main
191186
- name: set PACKAGE_VERSION
192187
uses: myci-actions/export-env-var@main
193-
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
188+
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh)}
194189
- name: add cocoapods repo
195190
run: pod repo add --silent cppfw https://$MYCI_GIT_USERNAME@github.com/cppfw/cocoapods-repo.git
196191
- name: install deps
@@ -229,7 +224,7 @@ jobs:
229224
install: myci
230225
- name: set PACKAGE_VERSION
231226
uses: myci-actions/export-env-var@main
232-
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh debian/changelog)}
227+
with: {name: PACKAGE_VERSION, value: $(myci-deb-version.sh)}
233228
- name: build
234229
run: |
235230
cd android
@@ -279,7 +274,7 @@ jobs:
279274
- name: git clone
280275
uses: myci-actions/checkout@main
281276
- name: prepare pacman package
282-
run: myci-apply-version.sh --version $(myci-deb-version.sh debian/changelog) msys2/PKGBUILD.in
277+
run: myci-apply-version.sh --version $(myci-deb-version.sh) msys2/PKGBUILD.in
283278
- name: build
284279
# to make makepkg-mingw build only one architecture we need to set the MINGW_ARCH
285280
env: {MINGW_ARCH: '${{ matrix.repo }}'}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)