Skip to content

Commit

Permalink
Change file locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcjakeway committed Mar 7, 2024
1 parent 932e0f5 commit 4dab92f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish Loupe UX Server Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y dh-make debhelper
- name: Create Directory and Add Files
run: |
mkdir -p ${{ github.workspace }}/src/LuxServer/cmakebuild/debianpackage/DEBIAN/control
cp ${{ github.workspace }}/src/LuxServer/configuration.json ${{ github.workspace }}/src/LuxServer/cmakebuild/debianpackage/DEBIAN/control
cp ${{ github.workspace }}/src/LuxServer/cmakebuild/src/server/luxserver ${{ github.workspace }}/src/LuxServer/cmakebuild/debianpackage/DEBIAN/control
mkdir -p build/DEBIAN
cp ${{ github.workspace }}/src/LuxServer/configuration.json build/DEBIAN/control
cp ${{ github.workspace }}/src/LuxServer/cmakebuild/src/server/luxserver build/DEBIAN/control
- name: Build Debian package
run: dpkg-deb --build ${{ github.workspace }}/src/LuxServer/cmakebuild/debianpackage luxservdebian.deb
run: dpkg-deb --build build luxservdebian.deb
- name: Show file names after debian package is built
run: |
ls -Rl ${{ github.workspace }}/src/LuxServer/cmakebuild
ls -Rl build/DEBIAN/control
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -73,7 +73,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/src/LuxServer/cmakebuild/debianpackage/luxservdebian.deb
asset_name: luxserverlinux.zip
asset_content_type: application/zip
asset_path: build/DEBIAN/control/luxservdebian.deb
asset_name: luxserverlinux.deb
asset_content_type: application/deb
- run: echo "🎉 The release's status is ${{ job.status }}."

0 comments on commit 4dab92f

Please # to comment.