Skip to content

Commit

Permalink
Updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcroft committed Oct 7, 2021
1 parent 16293bc commit 950d1d1
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/devskim-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [ main ]
schedule:
- cron: '34 2 * * 2'
- cron: '0 0 * * *'

jobs:
lint:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/made-collections.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: made-collections

on:
create:
branches:
- release/**
push:
tags:
- v*
branches:
- main
paths:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
run: cp "README.md" "./dist/README.md"

- name: Publish
if: startsWith(github.ref, 'refs/heads/release')
if: startsWith(github.ref, 'refs/tags/v')
working-directory: MADE.Collections/dist
run: npm publish
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/made-data-converters.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: made-data-converters

on:
create:
branches:
- release/**
push:
tags:
- v*
branches:
- main
paths:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
run: cp "README.md" "./dist/README.md"

- name: Publish
if: startsWith(github.ref, 'refs/heads/release')
if: startsWith(github.ref, 'refs/tags/v')
working-directory: MADE.Data.Converters/dist
run: npm publish
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/made-data-validation.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: made-data-validation

on:
create:
branches:
- release/**
push:
tags:
- v*
branches:
- main
paths:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
run: cp "README.md" "./dist/README.md"

- name: Publish
if: startsWith(github.ref, 'refs/heads/release')
if: startsWith(github.ref, 'refs/tags/v')
working-directory: MADE.Data.Validation/dist
run: npm publish
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/made-diagnostics.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: made-diagnostics

on:
create:
branches:
- release/**
push:
tags:
- v*
branches:
- main
paths:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
run: cp "README.md" "./dist/README.md"

- name: Publish
if: startsWith(github.ref, 'refs/heads/release')
if: startsWith(github.ref, 'refs/tags/v')
working-directory: MADE.Diagnostics/dist
run: npm publish
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/made-networking.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: made-networking

on:
create:
branches:
- release/**
push:
tags:
- v*
branches:
- main
paths:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
run: cp "README.md" "./dist/README.md"

- name: Publish
if: startsWith(github.ref, 'refs/heads/release')
if: startsWith(github.ref, 'refs/tags/v')
working-directory: MADE.Networking/dist
run: npm publish
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/made-runtime.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: made-runtime

on:
create:
branches:
- release/**
push:
tags:
- v*
branches:
- main
paths:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
run: cp "README.md" "./dist/README.md"

- name: Publish
if: startsWith(github.ref, 'refs/heads/release')
if: startsWith(github.ref, 'refs/tags/v')
working-directory: MADE.Runtime/dist
run: npm publish
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/made-threading.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: made-threading

on:
create:
branches:
- release/**
push:
tags:
- v*
branches:
- main
paths:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
run: cp "README.md" "./dist/README.md"

- name: Publish
if: startsWith(github.ref, 'refs/heads/release')
if: startsWith(github.ref, 'refs/tags/v')
working-directory: MADE.Threading/dist
run: npm publish
env:
Expand Down

0 comments on commit 950d1d1

Please sign in to comment.