Skip to content

Commit

Permalink
Added cd build to appropriate lines
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettbyrd committed Jun 27, 2024
1 parent 1dfd689 commit deeb602
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
${{ matrix.ccompiler }} --version
- name: Build with Cmake
run: |
pwd
mkdir build
cd build
FC=${{ matrix.fcompiler }} CC=${{ matrix.ccompiler }} cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ../
Expand All @@ -71,7 +70,6 @@ jobs:
echo "ARCH=${RUNNER_ARCH}" >> $GITHUB_ENV
- name: Build release directory
run: |
pwd
cd build
mkdir feq-parse_${{ env.RELEASE_VERSION }}-1_${{ env.ARCH }}
cd feq-parse_${{ env.RELEASE_VERSION }}-1_${{ env.ARCH }}
Expand All @@ -90,6 +88,7 @@ jobs:
EOF
- name: Build .deb
run: |
cd build
dpkg --build feq-parse_${{ env.RELEASE_VERSION }}-1_${{ env.ARCH }}
- name: Create Release
Expand All @@ -110,6 +109,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./feq-parse_${{ env.RELEASE_VERSION }}-1_${{ env.ARCH }}.deb
asset_path: ./build/feq-parse_${{ env.RELEASE_VERSION }}-1_${{ env.ARCH }}.deb
asset_name: feq-parse_${{ env.RELEASE_VERSION }}-1_${{ env.ARCH }}.deb
asset_content_type: application/vnd.debian.binary-package

0 comments on commit deeb602

Please sign in to comment.