Skip to content

Commit

Permalink
test release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vinymeuh committed Jan 26, 2024
1 parent 16cbc0a commit f266cb0
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
template: |
## What's Changed
$CHANGES
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
on:
push:
tags:
- 'v*'

name: Release

jobs:
create_draft_release:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag: ${{ github.ref_name }}
version: ${{ github.ref_name }}

# release:
# strategy:
# matrix:
# include:
# - os: ubuntu-latest
# artifact_file: hifumi-linux-amd64.tgz
# runs-on: ${{ matrix.os }}
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Setup Go
# uses: actions/setup-go@v4
# with:
# go-version-file: './go.mod'
# - name: Build release
# run: |
# go build -o hifumi cmd/hifumi/main.go
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
workflow_dispatch:

jobs:
gotest:
name: Go Tests
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit f266cb0

Please sign in to comment.