@@ -97,82 +97,16 @@ jobs:
9797 name : package_tarball
9898 path : check/*.tar.gz
9999
100- - name : Install covr
101- if : runner.os == 'macOS'
102- run : |
103- install.packages("covr")
104- shell : Rscript {0}
105-
106- - name : Test coverage
107- if : runner.os == 'macOS'
108- run : covr::codecov()
109- shell : Rscript {0}
110-
111- Release :
112- needs : R-CMD-Check
113-
114- runs-on : macOS-latest
115-
116- env :
117- GH_TOKEN : ${{ secrets.GH_TOKEN }}
118-
119- if : ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
120-
121- steps :
122-
123- - uses : actions/checkout@v3
124- with :
125- fetch-depth : 0
126-
127- - name : Check if version has increased
128- run : |
129- echo "new_version="$(perl compare_versions --tag) >> $GITHUB_ENV
130-
131- - name : Display new version number
132- if : ${{ env.new_version != '' }}
133- run : |
134- echo "${{ env.new_version }}"
135-
136- - name : Create release
137- if : ${{ env.new_version != '' }}
138- uses : actions/create-release@v1
139- env :
140- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
141- with :
142- tag_name : ${{ env.new_version }}
143- release_name : Release ${{ env.new_version }}
144- body : |
145- See NEWS.md for release notes.
146- draft : false
147- prerelease : false
148-
149- - uses : r-lib/actions/setup-r@v2
150- if : ${{ env.new_version != '' }}
151-
152- - name : Install drat
153- if : ${{ env.new_version != '' }}
154- run : |
155- install.packages('drat')
156- shell : Rscript {0}
157-
158- - name : Remove any tarballs that already exists
159- if : ${{ env.new_version != '' }}
160- run : |
161- rm -f *.tar.gz
162-
163- - name : Download package tarball
164- if : ${{ env.new_version != '' }}
165- uses : actions/download-artifact@v4.1.7
166- with :
167- name : package_tarball
168-
169- - name : Push to drat
170- if : ${{ env.new_version != '' }}
171- run : |
172- bash deploy.sh
173-
174- - name : Push to BroadSea
175- if : ${{ env.new_version != '' }}
176- run : |
177- curl --data "build=true" -X POST https://registry.hub.docker.com/u/ohdsi/broadsea-methodslibrary/trigger/f0b51cec-4027-4781-9383-4b38b42dd4f5/
100+ # - name: Install covr
101+ # if: runner.os == 'macOS'
102+ # run: |
103+ # install.packages("covr")
104+ # shell: Rscript {0}
105+ #
106+ # - name: Test coverage
107+ # if: runner.os == 'macOS'
108+ # run: covr::codecov()
109+ # shell: Rscript {0}
110+
111+ https://registry.hub.docker.com/u/ohdsi/broadsea-methodslibrary/trigger/f0b51cec-4027-4781-9383-4b38b42dd4f5/
178112
0 commit comments