From 31fd377a75ccda2bf54976762158fc2546c03203 Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" Date: Wed, 30 Nov 2022 16:20:07 -0800 Subject: [PATCH] Update workflow to post the spec file --- .github/workflows/create-release.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 9b854a4..d8a7615 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -37,7 +37,7 @@ jobs: release_name: Release ${{ github.ref }} draft: false prerelease: false - - name: Upload Release Asset + - name: Upload Tarball id: upload-release-asset uses: actions/upload-release-asset@v1 env: @@ -47,3 +47,12 @@ jobs: asset_path: ./${{ env.TARBALL_NAME }} asset_name: ${{ env.TARBALL_NAME }} asset_content_type: application/gzip + - name: Upload TOSS Spec File + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./libyogrt.spec + asset_name: libyogrt.spec + asset_content_type: text/plain