Skip to content

Commit

Permalink
feat: test github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jfri3d committed Jul 20, 2020
1 parent da06ef6 commit 8531902
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 58 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,27 @@
name: 'release'
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release

jobs:
build:
name: Create Release
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Generate changelog
id: changelog
uses: ./
with:
fetch-depth: 0
- name: changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
env:
REPO: ${{ github.repository }}
github-token: ${{ secrets.github_token }}

- name: Create Release
id: create_release
uses: actions/create-release@latest
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
38 changes: 0 additions & 38 deletions .github/workflows/create_changelog.yml

This file was deleted.

0 comments on commit 8531902

Please sign in to comment.