diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dafccc0..ae0395e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,6 @@ name: build on: - push + never jobs: build: @@ -22,9 +22,9 @@ jobs: - name: debug run: | - echo ${{ github.event.ref }} - echo ${{ github.event.ref == 'refs/tags/[0-9]+.[0-9]+.[0-9]' }} - echo ${{ github.event.ref != 'refs/tags/[0-9]+.[0-9]+.[0-9]' }} + echo ${{ github.ref }} + echo ${{ github.ref == '[0-9]+.[0-9]+.[0-9]' }} + echo ${{ github.ref != '[0-9]+.[0-9]+.[0-9]' }} - name: build stable release if: ${{ github.tag == '[0-9]+.[0-9]+.[0-9]' }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..3256589 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: test +on: + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' + +jobs: + build: + name: test-my build + runs-on: ubuntu-latest + + steps: + + - name: debug + run: | + echo ${{ github.ref }} + echo ${{ github.ref == '[0-9]+.[0-9]+.[0-9]+' }} + echo ${{ github.ref != '[0-9]+.[0-9]+.[0-9]+' }}