Skip to content

Commit

Permalink
Use better CI scripts (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored Jan 27, 2022
1 parent ed44a99 commit 394b724
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: build

permissions: read-all

on:
push:
branches: [main]
Expand All @@ -14,10 +16,12 @@ on:
# See https://github.com/cristalhq/.github/.github/workflows
jobs:
build:
uses: cristalhq/.github/.github/workflows/build.yml@main
uses: cristalhq/.github/.github/workflows/build.yml@e7c9d97e1ed043d608a701c651cf6c0820dc44f2 # v0.1.1

release:
if: github.event_name == 'workflow_dispatch'
uses: cristalhq/.github/.github/workflows/release.yml@main
uses: cristalhq/.github/.github/workflows/release.yml@e7c9d97e1ed043d608a701c651cf6c0820dc44f2 # v0.1.1
permissions:
contents: write
with:
tag: ${{ github.event.input.tag }}

0 comments on commit 394b724

Please sign in to comment.