Skip to content

Commit

Permalink
added build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerosn committed Nov 4, 2023
1 parent f6ad6ca commit 7a6c998
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,34 @@ jobs:
- run: "chmod 0755 packaging/debian/usr/bin/cicpoffs"
- run: "ln -s cicpoffs packaging/debian/usr/bin/mount.cicpoffs"
- run: "dpkg-deb --build packaging/debian"
- run: "cp packaging/debian.deb packaging/cicpoffs.deb"
- uses: actions/upload-artifact@v3
with:
name: cicpoffs.deb
path: packaging/debian.deb
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: packaging/cicpoffs.deb
tag: ${{ github.ref }}
overwrite: true
file_glob: true
Build_for_ARCH:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: "docker run --rm -v ./:/repo archlinux /bin/bash /repo/packaging/arch/bash.sh"
- run: "cp packaging/arch/cicpoffs.tar.zst packaging/cicpoffs.tar.zst"
- uses: actions/upload-artifact@v3
with:
name: cicpoffs.tar.zst
path: packaging/arch/cicpoffs.tar.zst
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: packaging/cicpoffs.tar.zst
tag: ${{ github.ref }}
overwrite: true
file_glob: true
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ packaging/debian.deb
packaging/arch/pkg
packaging/arch/src
packaging/arch/cicpoffs-git-*
packaging/arch/cicpoffs.tar.zst
packaging/arch/cicpoffs.tar.zst
packaging/cicpoffs.tar.zst
packaging/cicpoffs.deb

0 comments on commit 7a6c998

Please sign in to comment.