Skip to content

Commit

Permalink
fixing buildtest_test
Browse files Browse the repository at this point in the history
  • Loading branch information
sshiraiwa committed Oct 1, 2021
1 parent 9bf7468 commit f5c837d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/buildtest_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Build a bottle using Homebrew
run: |
echo ${{ github.head_ref }}
NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')"
NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')
echo ${NEW_VERSION}
brew tap piScope/twopi
brew install -v piscope/twopi/test --build-bottle
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/buildtest_twopi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@ jobs:
$(brew --prefix)/opt/Python@3/bin/pip3 install six matplotlib Pillow hgapi PyOpenGL netCDF4 h5py PyPDF2 pdfrw future
- name: Build a bottle using Homebrew
run: |
echo ${{ github.head_ref }}
NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')
echo ${NEW_VERSION}
brew tap piScope/twopi
brew install -v piscope/twopi/twopi --build-bottle
brew bottle piscope/twopi/twopi
brew bottle --verbose --json piscope/twopi/test --root-url=https://github.com/piScope/homebrew-TwoPi/releases/download/TwoPi-${NEW_VERSION}
ls *.bottle.json
brew bottle --merge --write --no-commit ./$(ls *.bottle.json)
ls -l
- name: Extact Version String
run: |
echo "TAG_VERSION=$(echo ${{github.event.release.tag_name}} | sed 's/[^0-9.]*//g')" >> $GITHUB_ENV
- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@main
Expand Down

0 comments on commit f5c837d

Please sign in to comment.