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
|
||||||
- test-action
|
- test-action
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
|
||||||
body-file: ${{ steps.yaclog-show.outputs.body-file }}
|
|
||||||
version-name: ${{ steps.yaclog-show.outputs.name }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@ -88,10 +85,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.12'
|
||||||
|
|
||||||
- name: Get Changelog Information
|
|
||||||
id: yaclog-show
|
|
||||||
uses: ./ # self-hosting!
|
|
||||||
|
|
||||||
- name: Install pypa/build
|
- name: Install pypa/build
|
||||||
run: python -m pip install build --user
|
run: python -m pip install build --user
|
||||||
|
|
||||||
@ -134,16 +127,22 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: python-distribution
|
name: python-distribution
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
|
- name: Get Changelog Information
|
||||||
|
id: yaclog-show
|
||||||
|
uses: ./ # self-hosting!
|
||||||
|
|
||||||
- name: Publish to Github
|
- name: Publish to Github
|
||||||
run: >
|
run: >
|
||||||
gh release create ${{ github.ref_name }}
|
gh release create ${{ github.ref_name }}
|
||||||
--notes-file "${{ needs.build.outputs.body-file }}"
|
--notes-file "${{ steps.yaclog-show.outputs.body-file }}"
|
||||||
--title "${{ needs.build.outputs.version-name }}"
|
--title "${{ steps.yaclog-show.outputs.name }}"
|
||||||
dist/*
|
dist/*
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
Loading…
Reference in New Issue
Block a user