mirror of
https://github.com/logos-storage/logos-storage-go-bindings.git
synced 2026-01-05 23:13:09 +00:00
Debug artifacts ci
This commit is contained in:
parent
7acc3ede7b
commit
f1675034b8
52
.github/workflows/artifacts.yml
vendored
52
.github/workflows/artifacts.yml
vendored
@ -2,8 +2,8 @@ name: Artifacts
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
# tags:
|
||||
# - 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -21,11 +21,11 @@ jobs:
|
||||
nim_os: macos
|
||||
nim_cpu: amd64
|
||||
lib_ext: dylib
|
||||
- os: windows-2022
|
||||
target: windows-amd64
|
||||
nim_os: windows
|
||||
nim_cpu: amd64
|
||||
lib_ext: dll
|
||||
# - os: windows-2022
|
||||
# target: windows-amd64
|
||||
# nim_os: windows
|
||||
# nim_cpu: amd64
|
||||
# lib_ext: dll
|
||||
|
||||
env:
|
||||
TARGET: ${{ matrix.target }}
|
||||
@ -73,13 +73,13 @@ jobs:
|
||||
make update
|
||||
make libcodex
|
||||
|
||||
- name: Build libcodex (Windows)
|
||||
if: runner.os == 'Windows' && steps.cache-libcodex.outputs.cache-hit != 'true'
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
pacman -Sy --noconfirm make
|
||||
make update
|
||||
make libcodex
|
||||
# - name: Build libcodex (Windows)
|
||||
# if: runner.os == 'Windows' && steps.cache-libcodex.outputs.cache-hit != 'true'
|
||||
# shell: msys2 {0}
|
||||
# run: |
|
||||
# pacman -Sy --noconfirm make
|
||||
# make update
|
||||
# make libcodex
|
||||
|
||||
- name: Package artifacts (Linux/macOS)
|
||||
if: runner.os != 'Windows'
|
||||
@ -111,15 +111,15 @@ jobs:
|
||||
path: ${{ env.ARCHIVE_PATH }}
|
||||
if-no-files-found: error
|
||||
|
||||
publish-release:
|
||||
needs: build
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: dist
|
||||
- name: Create release draft
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: dist/**/codex-*.{tar.gz,zip}
|
||||
draft: true
|
||||
# publish-release:
|
||||
# needs: build
|
||||
# runs-on: ubuntu-22.04
|
||||
# steps:
|
||||
# - uses: actions/download-artifact@v4
|
||||
# with:
|
||||
# path: dist
|
||||
# - name: Create release draft
|
||||
# uses: softprops/action-gh-release@v1
|
||||
# with:
|
||||
# files: dist/**/codex-*.{tar.gz,zip}
|
||||
# draft: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user