diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 60b90f28..a531ba1c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -231,14 +231,6 @@ jobs: with: submodules: recursive - - name: Set outputs - id: vars - # Create ${{ steps.vars.outputs.sha_short }} - run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - - - name: Check outputs - run: echo ${{ steps.vars.outputs.sha_short }} - # Set Up Ruby Tools - name: Set Up Ruby Tools uses: ruby/setup-ruby@v1 @@ -260,17 +252,17 @@ jobs: echo "short_ver=$(ruby ./lib/ceedling/version.rb)" >> $GITHUB_ENV echo "full_ver=$(ruby ./lib/ceedling/version.rb)-${{ env.sha_short }}" >> $GITHUB_ENV - # Build Gem - - name: Build Gem - run: | - gem build ceedling.gemspec - # Create Git Commit SHA file in root of checkout - name: Git Commit SHA file shell: bash run: | echo "${{ env.sha_short }}" > ${{ github.workspace }}/GIT_COMMIT_SHA + # Build Gem + - name: Build Gem + run: | + gem build ceedling.gemspec + # Create Unofficial Release - name: Create Pre-Release uses: actions/create-release@v1