mirror of
https://github.com/logos-storage/logos-storage-go-bindings.git
synced 2026-08-27 07:41:15 +00:00
Create release and upload assets
This commit is contained in:
@@ -2,9 +2,9 @@ name: Artifacts
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
workflow_dispatch:
|
||||
# tags:
|
||||
# - 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -87,15 +87,17 @@ jobs:
|
||||
vendor/nim-codex/library/libcodex.h
|
||||
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-latest
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- uses: actions/download-artifact@v5
|
||||
with:
|
||||
path: dist
|
||||
- name: Create release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
body_path: ${{ github.workspace }}-RELEASE.md
|
||||
files: dist/**
|
||||
draft: true
|
||||
|
||||
Reference in New Issue
Block a user