Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticFiasco committed Mar 24, 2024
1 parent 8100875 commit e383aff
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,27 @@ jobs:
build:
runs-on: windows-latest
steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-dotnet@v4
# with:
# dotnet-version: 8.x
# - run: build\build.ps1
# - uses: actions/upload-artifact@v4
# with:
# name: nuget
# path: artifacts
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- run: build\build.ps1
- uses: actions/upload-artifact@v4
with:
name: nuget
path: artifacts

release:
needs: build
if: startsWith(github.ref, 'refs/tags/v')
runs-on: windows-latest
steps:
- uses: actions/github-script@v7
with:
script: |
const owner = context.repo.owner;
const repo = context.repo.repo;
const tag_name = "test";
const tag_name = context.ref.replace(/\/refs\/tags\//, '');
github.rest.repos.createRelease({
owner,
Expand Down

0 comments on commit e383aff

Please sign in to comment.