Skip to content

Commit

Permalink
upload artifacts 2
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Aug 23, 2024
1 parent c4fe53b commit ee8ec86
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,18 @@ jobs:
- name: install deps
run: myci-deb-install-build-deps.sh
- name: build
run: dpkg-buildpackage --unsigned-source --unsigned-changes
run: |
dpkg-buildpackage --unsigned-source --unsigned-changes
mv ../*.*deb .
- name: upload deb packages to artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}_${{ matrix.codename }}_deb_packages
path: ../*.*deb
path: *.*deb
- name: deploy deb packages
run: |
echo "${{ secrets.MYCI_REPO_SSH_KEY }}" > repo_key_rsa && chmod 600 repo_key_rsa
myci-deploy-apt-ssh.sh --key repo_key_rsa --server gagis.hopto.org --repo cppfw/${{ matrix.os }} --distro ${{ matrix.codename }} --component main ../lib${PACKAGE_NAME}*_${PACKAGE_VERSION}_*.*deb
myci-deploy-apt-ssh.sh --key repo_key_rsa --server gagis.hopto.org --repo cppfw/${{ matrix.os }} --distro ${{ matrix.codename }} --component main lib${PACKAGE_NAME}*_${PACKAGE_VERSION}_*.*deb
if: startsWith(github.ref, 'refs/tags/')
##### archlinux #####
# archlinux:
Expand Down

0 comments on commit ee8ec86

Please sign in to comment.