File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
build :
10
- if : false
11
10
name : Semantic release
12
11
environment : main
13
12
runs-on : ubuntu-latest
@@ -20,18 +19,19 @@ jobs:
20
19
id : semantic
21
20
uses : cycjimmy/semantic-release-action@v4
22
21
env :
23
- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
24
- HACKAGE_TOKEN : ${{ secrets.HACKAGE_TOKEN }}
22
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
23
+ HACKAGE_KEY : ${{ secrets.HACKAGE_TOKEN }}
25
24
26
25
with :
27
- ci : ${{ env.GITHUB_REF == 'refs/head /main' }}
26
+ ci : ${{ github.ref == 'refs/heads /main' }}
28
27
extra_plugins : |
29
28
semantic-release-mirror-version
30
- semantic-release-hackage
29
+ semantic-release-stack-upload
31
30
32
31
- name : Semantic release output
33
32
run : |
34
- echo dry_run: ${{ env.GITHUB_REF != 'refs/head/main' }}
33
+ echo ref: ${{ github.ref }}
34
+ echo dry_run: ${{ github.ref != 'refs/heads/main' }}
35
35
echo published: ${{ steps.semantic.outputs.new_release_published }}
36
36
echo last_release: ${{ steps.semantic.outputs.last_release_version }}
37
37
echo new_version: ${{ steps.semantic.outputs.new_release_version }}
Original file line number Diff line number Diff line change @@ -30,13 +30,6 @@ export default {
30
30
}
31
31
] ,
32
32
"@semantic-release/github" ,
33
- [
34
- "semantic-release-hackage" ,
35
- {
36
- "packageName" : "megaparsec-time" ,
37
- "versionPrefix" : "0." ,
38
- "publishDocumentation" : true
39
- }
40
- ]
33
+ "semantic-release-stack-upload" ,
41
34
]
42
35
}
You can’t perform that action at this time.
0 commit comments