From 0e35c82dec49f59add67610deba9bf8bcba35351 Mon Sep 17 00:00:00 2001 From: Andrew Cassidy Date: Tue, 27 Aug 2024 23:50:05 -0700 Subject: [PATCH] Fix workflow --- .github/workflows/build.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c05e74..9915ecd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} \ No newline at end of file