Skip to content

Commit

Permalink
Clean the ruby build before making a release
Browse files Browse the repository at this point in the history
  • Loading branch information
reese authored Jan 22, 2024
1 parent 78c57d7 commit 0f233f4
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/preview-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- completed
push:
# Run only on trunk pushes that aren't a new tag release
branches: [trunk]
branches: [trunk, reese-preview-release]
tags-ignore: "*"

env:
Expand Down Expand Up @@ -68,6 +68,7 @@ jobs:
path: |
librubyfmt/ruby_checkout
key: ${{ runner.os }}-${{matrix.target}}-ruby-v1-${{ hashFiles('.git/modules/librubyfmt/ruby_checkout/HEAD') }}
- run: cd librubyfmt/ruby_checkout && make clean
- if: runner.os == 'macOS'
run: |
brew install automake bison
Expand Down Expand Up @@ -118,11 +119,11 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: rubyfmt-release-artifact-macos-latest-native
- name: Upload Release
uses: softprops/action-gh-release@v1
with:
files: rubyfmt-*.tar.gz
fail_on_unmatched_files: true
generate_release_notes: true
prerelease: true
tag_name: ${{ steps.get-latest-tag.outputs.tag }}
# - name: Upload Release
# uses: softprops/action-gh-release@v1
# with:
# files: rubyfmt-*.tar.gz
# fail_on_unmatched_files: true
# generate_release_notes: true
# prerelease: true
# tag_name: ${{ steps.get-latest-tag.outputs.tag }}

0 comments on commit 0f233f4

Please sign in to comment.