Skip to content

Commit f5c837d

Browse files
committed
fixing buildtest_test
1 parent 9bf7468 commit f5c837d

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/buildtest_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Build a bottle using Homebrew
4949
run: |
5050
echo ${{ github.head_ref }}
51-
NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')"
51+
NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')
5252
echo ${NEW_VERSION}
5353
brew tap piScope/twopi
5454
brew install -v piscope/twopi/test --build-bottle

.github/workflows/buildtest_twopi.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,16 @@ jobs:
2828
$(brew --prefix)/opt/Python@3/bin/pip3 install six matplotlib Pillow hgapi PyOpenGL netCDF4 h5py PyPDF2 pdfrw future
2929
- name: Build a bottle using Homebrew
3030
run: |
31+
echo ${{ github.head_ref }}
32+
NEW_VERSION=$(echo ${{ github.head_ref }} | sed 's/[^0-9.]*//g')
33+
echo ${NEW_VERSION}
3134
brew tap piScope/twopi
3235
brew install -v piscope/twopi/twopi --build-bottle
33-
brew bottle piscope/twopi/twopi
36+
brew bottle --verbose --json piscope/twopi/test --root-url=https://github.com/piScope/homebrew-TwoPi/releases/download/TwoPi-${NEW_VERSION}
37+
ls *.bottle.json
38+
brew bottle --merge --write --no-commit ./$(ls *.bottle.json)
3439
ls -l
3540
36-
- name: Extact Version String
37-
run: |
38-
echo "TAG_VERSION=$(echo ${{github.event.release.tag_name}} | sed 's/[^0-9.]*//g')" >> $GITHUB_ENV
39-
4041
- name: Upload bottles as artifact
4142
if: always() && github.event_name == 'pull_request'
4243
uses: actions/upload-artifact@main

0 commit comments

Comments
 (0)