Browse Source

Merge pull request #1053 from AsakusaRinne/master

ci: update release ci.
tags/v0.100.5
Rinne GitHub 2 years ago
parent
commit
cc9a9bf82d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      .github/workflows/release.yml

+ 2
- 7
.github/workflows/release.yml View File

@@ -1,12 +1,10 @@
name: auto-release

on:
label:
types: [created, edited]
pull_request:
branches:
- master
types: [ labeled, opened, reopened, synchronize ]
types: [ closed ]

env:
MYGET_API_TOKEN: ${{ SECRETS.MYGET_API_KEY }}
@@ -14,7 +12,7 @@ env:

jobs:
build:
if: contains(github.event.pull_request.labels.*.name, 'auto-release')
if: contains(github.event.pull_request.labels.*.name, 'auto-release') && ${{ github.event.pull_request.merged }}
runs-on: windows-latest

steps:
@@ -93,8 +91,5 @@ jobs:
name: "drop-ci-packages"
path: './packages'

- name: test temp
run: echo "auth_token length ${#auth_token}"

- name: Push TensorFlow.NET to myget.org
run: dotnet nuget push .\packages\TensorFlow*.nupkg --source https://www.myget.org/F/scisharp/api/v3/index.json -k ${{ secrets.MYGET_API_KEY }} --skip-duplicate

Loading…
Cancel
Save