Browse Source

update release workflow

master^2
wenmeng.zwm 3 years ago
parent
commit
b1205989ca
2 changed files with 1 additions and 28 deletions
  1. +0
    -25
      .github/workflows/debug.yaml
  2. +1
    -3
      .github/workflows/release.yaml

+ 0
- 25
.github/workflows/debug.yaml View File

@@ -1,25 +0,0 @@
name: release

on:
release:
types: [published,edited]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-n-publish:
runs-on: ubuntu-20.04
if: startsWith(github.event.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'

- name: Install wheel
run: |
echo "I got run"
echo ${{github.ref}}

+ 1
- 3
.github/workflows/release.yaml View File

@@ -1,8 +1,6 @@
name: release

on:
release:
types: [published]
on: push

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}


Loading…
Cancel
Save