From 297dd57f5701de3f7cc6ee9c013a090d81ab1909 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Tue, 21 Jan 2025 15:52:45 +0100 Subject: [PATCH] GHA: Update release assets workflow (#115) Fix filenames / rename. --- .github/workflows/bundle.yml | 12 +++++++++++- README.md | 6 ++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bundle.yml b/.github/workflows/bundle.yml index 655623a..4b453f6 100644 --- a/.github/workflows/bundle.yml +++ b/.github/workflows/bundle.yml @@ -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 }} diff --git a/README.md b/README.md index aa5d136..c3a795c 100644 --- a/README.md +++ b/README.md @@ -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