Skip to content

Commit

Permalink
Add release flow (#7)
Browse files Browse the repository at this point in the history
* Add release flow

* update
  • Loading branch information
kurochan authored Jan 19, 2024
1 parent b577107 commit d930abf
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,27 @@ on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-22.04
permissions:
contents: write
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pipe-cd/[email protected]
with:
release_file: "RELEASE"
token: ${{ secrets.GITHUB_TOKEN }}

build:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
needs: release
strategy:
fail-fast: false
matrix:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ on:
workflow_dispatch:

jobs:
release-check:
runs-on: ubuntu-22.04
permissions:
contents: read
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pipe-cd/[email protected]
with:
release_file: "RELEASE"
token: ${{ secrets.GITHUB_TOKEN }}

build:
runs-on: ubuntu-22.04
permissions:
Expand All @@ -24,6 +39,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pipe-cd/[email protected]
with:
release_file: "RELEASE"
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down
6 changes: 6 additions & 0 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tag: v0.0.0
prerelease: false

releaseNoteGenerator:
showCommitter: false
useReleaseNoteBlock: true

0 comments on commit d930abf

Please sign in to comment.