Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
Cabal
Commits
c751e534
Commit
c751e534
authored
3 years ago
by
Francesco Gazzetta
Committed by
Mergify
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add changelog-d CI job
(cherry picked from commit
dfc33f39
)
parent
5211d878
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/changelogs.yml
+56
-0
56 additions, 0 deletions
.github/workflows/changelogs.yml
with
56 additions
and
0 deletions
.github/workflows/changelogs.yml
0 → 100644
+
56
−
0
View file @
c751e534
name
:
Changelogs
on
:
push
:
branches
:
-
master
paths
:
-
'
changelog.d/*'
-
'
.github/workflows/changelogs.yml'
pull_request
:
paths
:
-
'
changelog.d/*'
-
'
.github/workflows/changelogs.yml'
release
:
types
:
-
created
defaults
:
run
:
shell
:
bash
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Set PATH
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#adding-a-system-path
run
:
|
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
-
uses
:
actions/cache@v1
with
:
path
:
~/.cabal/store
key
:
linux-store-changelogs
-
name
:
ghcup
run
:
|
ghcup config set cache true
ghcup install ghc recommended
ghcup set ghc recommended
-
name
:
Update Hackage index
run
:
cabal v2-update
# Cannot install it from tarball due to
# https://github.com/haskell/cabal/issues/7360
-
uses
:
actions/checkout@v3
with
:
repository
:
"
phadej/changelog-d"
path
:
"
changelog-d"
-
name
:
Install changelog-d
run
:
|
pushd changelog-d
cabal v2-install
popd
-
uses
:
actions/checkout@v3
-
name
:
Run changelog-d
run
:
|
changelog-d changelog.d
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment