From 6ad7a011620f7a69b2d55b3980a8ab38a8189d8e Mon Sep 17 00:00:00 2001 From: Jacob Carlborg Date: Thu, 21 Dec 2023 14:06:29 +0100 Subject: [PATCH] fixup! test --- .github/workflows/bundle.yml | 43 +++++++++++++++++------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/.github/workflows/bundle.yml b/.github/workflows/bundle.yml index 0c78750..f68e5ce 100644 --- a/.github/workflows/bundle.yml +++ b/.github/workflows/bundle.yml @@ -77,27 +77,24 @@ jobs: path: /usr/share/OVMF/OVMF.fd key: ovmf_file - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 + - name: Run CI Script + run: ./ci.rb - # - name: Run CI Script - # run: ./ci.rb - # - # - name: Run Tests - # run: ./test.rb - # - # - name: Extract Version - # id: version - # if: startsWith(github.ref, 'refs/tags/v') - # run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v} - # - # - name: Create Release - # id: create_release - # if: startsWith(github.ref, 'refs/tags/v') - # uses: softprops/action-gh-release@v1 - # with: - # name: Resources ${{ steps.version.outputs.VERSION }} - # draft: true - # files: '*.tar' - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Run Tests + run: ./test.rb + + - name: Extract Version + id: version + if: startsWith(github.ref, 'refs/tags/v') + run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v} + + - name: Create Release + id: create_release + if: startsWith(github.ref, 'refs/tags/v') + uses: softprops/action-gh-release@v1 + with: + name: Resources ${{ steps.version.outputs.VERSION }} + draft: true + files: '*.tar' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}