mirror of
https://github.com/logos-storage/logos-storage-go-bindings.git
synced 2026-01-02 13:33:10 +00:00
Fix artifact names
This commit is contained in:
parent
093c72fad5
commit
c1e9a1acf8
22
.github/workflows/artifacts.yml
vendored
22
.github/workflows/artifacts.yml
vendored
@ -79,24 +79,34 @@ jobs:
|
|||||||
make libcodex
|
make libcodex
|
||||||
|
|
||||||
- name: Package artifacts (Linux / macOS)
|
- name: Package artifacts (Linux / macOS)
|
||||||
if: matrix.target.os != 'windows-latest'
|
if: matrix.target.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
if [ "$(uname)" = "Linux" ]; then sudo apt-get update && sudo apt-get install -y zip; fi
|
sudo apt-get update && sudo apt-get install -y zip
|
||||||
zip -j codex-${{ matrix.target.os }}-${{ matrix.target.cpu }}.zip vendor/nim-codex/build/libcodex.${{ matrix.target.lib_ext }} vendor/nim-codex/library/libcodex.h
|
ZIPFILE=codex-linux-${{ matrix.target.cpu }}.zip
|
||||||
|
zip -j $ZIPFILE vendor/nim-codex/build/libcodex.${{ matrix.target.lib_ext }} vendor/nim-codex/library/libcodex.h
|
||||||
|
echo "ZIPFILE=$ZIPFILE" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Package artifacts (Linux / macOS)
|
||||||
|
if: matrix.target.os == 'macos-latest'
|
||||||
|
run: |
|
||||||
|
ZIPFILE=codex-macos-${{ matrix.target.cpu }}.zip
|
||||||
|
zip -j $ZIPFILE vendor/nim-codex/build/libcodex.${{ matrix.target.lib_ext }} vendor/nim-codex/library/libcodex.h
|
||||||
|
echo "ZIPFILE=$ZIPFILE" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Package artifacts (Windows)
|
- name: Package artifacts (Windows)
|
||||||
if: matrix.target.os == 'windows-latest'
|
if: matrix.target.os == 'windows-latest'
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: |
|
run: |
|
||||||
ZIPFILE=codex-${{ matrix.target.os }}-${{ matrix.target.cpu }}.zip
|
ZIPFILE=codex-windows-${{ matrix.target.cpu }}.zip
|
||||||
(cd vendor/nim-codex/build && 7z a -tzip "${GITHUB_WORKSPACE}/${ZIPFILE}" libcodex.dll)
|
(cd vendor/nim-codex/build && 7z a -tzip "${GITHUB_WORKSPACE}/${ZIPFILE}" libcodex.dll)
|
||||||
(cd vendor/nim-codex/library && 7z a -tzip "${GITHUB_WORKSPACE}/${ZIPFILE}" libcodex.h)
|
(cd vendor/nim-codex/library && 7z a -tzip "${GITHUB_WORKSPACE}/${ZIPFILE}" libcodex.h)
|
||||||
|
echo "ZIPFILE=$ZIPFILE" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: codex-${{ matrix.target.os }}-${{ matrix.target.cpu }}
|
name: ${{ env.ZIPFILE }}
|
||||||
path: codex-${{ matrix.target.os }}-${{ matrix.target.cpu }}.zip
|
path: ${{ env.ZIPFILE }}
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
publish-release:
|
publish-release:
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
## v0.0.8 (2025-10-13)
|
## v0.0.9 (2025-10-13)
|
||||||
### Notes
|
### Notes
|
||||||
|
|
||||||
- First release
|
- First release
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user