Skip to content

Commit

Permalink
ci: fix calls to upx and gh release
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Nov 4, 2024
1 parent 71ef25d commit 436fc1f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# os: [ubuntu-24.04, macos-15, windows-2022]
os: [windows-2022]
os: [ubuntu-24.04, macos-15, windows-2022]
ghc-version: ['9.6.6']
cabal-version: ['3.12.1.0']
env:
Expand Down Expand Up @@ -204,10 +203,11 @@ jobs:
uses: actions/cache/save@v4
if: steps.cache.outputs.cache-hit != 'true'
with:
path: |
${HOME}/.cache/cabal
${HOME}/.cabal/store
dist-newstyle
path: ${{ steps.setup.outputs.cabal-store }}
#path: |
# ${HOME}/.cache/cabal
# ${HOME}/.cabal/store
# dist-newstyle
key: ${{ steps.cache.outputs.cache-primary-key }}

- name: Build
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ release:
chmod 755 $(SPEX_BIN)/$$(basename $$bin)-$(NEW_VERSION)-$$(basename $$dir); \
done \
done
upx -q $(SPEX_BIN)/spex-*
upx -q $(SPEX_BIN)/spex*
gh release create --draft --notes-file=CHANGELOG.md \
"v$(NEW_VERSION)" $(SPEX_BIN)/spex-*
"v$(NEW_VERSION)" $(SPEX_BIN)/spex*
else
@echo Running locally, skipping automatic release...
endif
Expand Down

0 comments on commit 436fc1f

Please sign in to comment.