File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- if : false
1110 name : Semantic release
1211 environment : main
1312 runs-on : ubuntu-latest
@@ -20,18 +19,19 @@ jobs:
2019 id : semantic
2120 uses : cycjimmy/semantic-release-action@v4
2221 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 }}
2524
2625 with :
27- ci : ${{ env.GITHUB_REF == 'refs/head /main' }}
26+ ci : ${{ github.ref == 'refs/heads /main' }}
2827 extra_plugins : |
2928 semantic-release-mirror-version
30- semantic-release-hackage
29+ semantic-release-stack-upload
3130
3231 - name : Semantic release output
3332 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' }}
3535 echo published: ${{ steps.semantic.outputs.new_release_published }}
3636 echo last_release: ${{ steps.semantic.outputs.last_release_version }}
3737 echo new_version: ${{ steps.semantic.outputs.new_release_version }}
Original file line number Diff line number Diff line change @@ -31,11 +31,9 @@ export default {
3131 ] ,
3232 "@semantic-release/github" ,
3333 [
34- "semantic-release-hackage " ,
34+ "semantic-release-stack-upload " ,
3535 {
36- "packageName" : "megaparsec-time" ,
37- "versionPrefix" : "0." ,
38- "publishDocumentation" : true
36+ "candidate" : true
3937 }
4038 ]
4139 ]
You can’t perform that action at this time.
0 commit comments