Skip to content

Commit

Permalink
added release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gofmanaa committed Jun 21, 2024
1 parent 73589e4 commit 4916468
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/release2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create Release
on:
push:
tags:
- '*'
- v[0-9]+.*

permissions:
contents: write
Expand All @@ -12,14 +12,6 @@ jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Validate inputs
run: |
if [[ "${{ inputs.tag }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "OK";
else
echo "Invalid tag format. Given: ${{ inputs.tag }}";
exit 1;
fi
- uses: webfactory/[email protected]
with:
ssh-private-key: |
Expand Down

0 comments on commit 4916468

Please sign in to comment.