Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
ci: release
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroKaku committed Mar 29, 2022
1 parent a8d7a7f commit e1132aa
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# run: 7z a -tzip ucxxrt.zip ucxxrt\

- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ucxxrt
path: ucxxrt\
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This is a basic workflow to help you get started with Actions

name: CI-Release

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
tags:
- "v*"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-2019

# Any commit that contains [build] will now trigger these jobs, everything else will be skipped.
# if: "contains(github.event.head_commit.message, '[build]')"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v2

- name: Build Library
shell: cmd
run: call .\.github\workflows\build.bat

#- name: Build Artifact
# shell: cmd
# run: 7z a -tzip ucxxrt.zip ucxxrt\

- name: Release a Build Artifact
uses: "marvinpinto/[email protected]"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: ucxxrt\*
4 changes: 2 additions & 2 deletions ucxxrt.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
namespace ucxxrt
{
#if (_MSVC_LANG < 201704L) && (__cplusplus < 201704L)
constexpr char __Version[] = u8"2.1.0.40";
constexpr char __Version[] = u8"2.1.1";
#else
constexpr char8_t __Version[] = u8"2.1.0.40";
constexpr char8_t __Version[] = u8"2.1.1";
#endif

#ifdef _KERNEL_MODE
Expand Down

0 comments on commit e1132aa

Please sign in to comment.