mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
Fix workflow
This commit is contained in:
parent
2a04aa00a8
commit
0e35c82dec
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@ -77,9 +77,6 @@ jobs:
|
||||
- test
|
||||
- test-action
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
body-file: ${{ steps.yaclog-show.outputs.body-file }}
|
||||
version-name: ${{ steps.yaclog-show.outputs.name }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -88,10 +85,6 @@ jobs:
|
||||
with:
|
||||
python-version: '3.12'
|
||||
|
||||
- name: Get Changelog Information
|
||||
id: yaclog-show
|
||||
uses: ./ # self-hosting!
|
||||
|
||||
- name: Install pypa/build
|
||||
run: python -m pip install build --user
|
||||
|
||||
@ -134,16 +127,22 @@ jobs:
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: python-distribution
|
||||
path: dist/
|
||||
|
||||
- name: Get Changelog Information
|
||||
id: yaclog-show
|
||||
uses: ./ # self-hosting!
|
||||
|
||||
- name: Publish to Github
|
||||
run: >
|
||||
gh release create ${{ github.ref_name }}
|
||||
--notes-file "${{ needs.build.outputs.body-file }}"
|
||||
--title "${{ needs.build.outputs.version-name }}"
|
||||
--notes-file "${{ steps.yaclog-show.outputs.body-file }}"
|
||||
--title "${{ steps.yaclog-show.outputs.name }}"
|
||||
dist/*
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
Loading…
Reference in New Issue
Block a user