Skip to content

Commit

Permalink
GHA: Update release assets workflow (#115)
Browse files Browse the repository at this point in the history
Fix filenames / rename.
  • Loading branch information
dweindl authored Jan 21, 2025
1 parent 5403f10 commit 297dd57
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,20 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4

- name: Verify artifact presence
run: pwd && ls -alhR

- name: Prepare assets
run: |
mkdir release_assets \
&& mv ccompass_bundle_onefile_linux/ccompass_bundle_onefile release_assets/ccompass_bundle_onefile_linux \
&& mv ccompass_bundle_onefile_windows/ccompass_bundle_onefile.exe release_assets/ccompass_bundle_onefile_windows.exe \
&& mv ccompass_bundle_onefile_macos/ccompass_bundle_onefile release_assets/ccompass_bundle_onefile_macos
- name: Upload release asset
uses: AButler/upload-release-assets@v3.0
if: github.event_name == 'release' && (github.event.action == 'created' || github.event.action == 'published')

with:
files: "ccompass_bundle_onefile_*"
files: "release_assets/*"
repo-token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ libraries before ([further information](ttps://learn.microsoft.com/en-us/cpp/win

```bash
# install
pip install ccompass
pip install --pre ccompass

# launch the GUI
ccompass # or alternatively: `python -m ccompass`
ccompass
# or alternatively: `python -m ccompass`
```

Note that C-COMPASS currently requires Python>=3.10, and due to its
Expand Down

0 comments on commit 297dd57

Please sign in to comment.