Skip to content

Commit

Permalink
Merge pull request #95 from akunzai/refactoring-workflows
Browse files Browse the repository at this point in the history
Refactoring workflows
  • Loading branch information
akunzai authored Mar 12, 2024
2 parents e487692 + 94b71cc commit afa7615
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Build

on:
push:
Expand All @@ -14,7 +14,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- name: Checkout
uses: actions/checkout@v4
- name: Install PSScriptAnalyzer module
shell: pwsh
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CD
name: Release

on:
push:
Expand All @@ -9,9 +9,11 @@ permissions:
contents: write

jobs:
deploy:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre-release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && (contains(github.ref,'dev') || contains(github.ref,'beta') || contains(github.ref,'alpha') || contains(github.ref,'rc'))
Expand Down

0 comments on commit afa7615

Please sign in to comment.