From 3827e08ebae57f837dd9c31909d1acd871666636 Mon Sep 17 00:00:00 2001 From: Ben Hall Date: Mon, 5 Feb 2024 13:11:12 -0500 Subject: [PATCH] testing --- .github/workflows/release_lib.yml | 40 +++++++++++++++---------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release_lib.yml b/.github/workflows/release_lib.yml index b412c08..407f70f 100644 --- a/.github/workflows/release_lib.yml +++ b/.github/workflows/release_lib.yml @@ -46,26 +46,24 @@ jobs: mkdir -p /out cd /app ./build/coderdbc -rw -dbc /dbc/hytech.dbc -out /out -drvname hytech + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.run_number }} + release_name: Release ${{ github.run_number }} + draft: false + prerelease: false - - # # - name: Create Release - # # id: create_release - # # uses: actions/create-release@v1 - # # env: - # # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # # with: - # # tag_name: ${{ github.run_number }} - # # release_name: Release ${{ github.run_number }} - # # draft: false - # # prerelease: false - - # # - name: Upload release asset - # # uses: actions/upload-release-asset@v1 - # # env: - # # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # # with: - # # upload_url: ${{ steps.create_release.outputs.upload_url }} - # # asset_path: /out - # # asset_name: can_lib.zip - # # asset_content_type: application/zip + - name: Upload release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: /out + asset_name: can_lib.zip + asset_content_type: application/zip