Skip to content

Commit

Permalink
ci: tweak release
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Oct 22, 2024
1 parent ec75c7a commit 9093579
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ jobs:
- name: Copy binaries
run: |
ls -R "${{github.workspace }}/dist-newstyle/build"
mkdir -p "${{ github.workspace }}/bin"
cp "$(find ${{ github.workspace }}/dist-newstyle \
-name spex -type f -executable)" "${{ github.workspace }}/bin"
cp "$(find ${{ github.workspace }}/dist-newstyle \
-name spex-demo-petstore -type f -executable)" "${{ github.workspace }}/bin"
cp "$(find ${{ github.workspace }}/dist-newstyle -name spex -type f -executable)" \
"${{ github.workspace }}/bin"
cp "$(find ${{ github.workspace }}/dist-newstyle -name spex-demo-petstore -type f -executable)" \
"${{ github.workspace }}/bin"
ls -R "${{github.workspace }}/bin" || true
- name: Create new git tag, if merge to main and .cabal version is bumped
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand All @@ -201,7 +201,8 @@ jobs:
files: |
CHANGELOG.md
LICENSE
"${{ github.workspace }}/bin/*"
"${{ github.workspace }}/bin/spex"
"${{ github.workspace }}/bin/spex-demo-petstore"
# - name: Create tarball
# run: cabal sdist
Expand Down

0 comments on commit 9093579

Please sign in to comment.