File tree Expand file tree Collapse file tree 4 files changed +7
-1519
lines changed Expand file tree Collapse file tree 4 files changed +7
-1519
lines changed Original file line number Diff line number Diff line change 3232 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3333 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
3434
35- upload :
36- name : Upload assets to GitHub Releases
37- needs :
38- - semantic-release
39- if : needs.semantic-release.outputs.new-release-published == 'true'
40- runs-on : ubuntu-22.04
41- steps :
42- - uses : actions/checkout@v4
43-
44- - uses : actions/setup-node@v4
45- with :
46- node-version-file : ' .nvmrc'
47-
48- - name : Prepare release
49- run : |
50- npm clean-install
51- npm run pkg
52- mv bin/postgres-meta-linux postgres-meta
53- tar -czvf postgres-meta-${{ needs.semantic-release.outputs.new-release-version }}-x86_64-linux-gnu.tar.gz postgres-meta
54- mv bin/postgres-meta-macos postgres-meta
55- tar -czvf postgres-meta-${{ needs.semantic-release.outputs.new-release-version }}-x86_64-apple-darwin.tar.gz postgres-meta
56- mv bin/postgres-meta-win.exe postgres-meta.exe
57- tar -czvf postgres-meta-${{ needs.semantic-release.outputs.new-release-version }}-x86_64-pc-windows.tar.gz postgres-meta.exe
58-
59- - uses : softprops/action-gh-release@v1
60- with :
61- tag_name : v${{ needs.semantic-release.outputs.new-release-version }}
62- files : postgres-meta-*.tar.gz
63-
6435 docker-hub :
6536 name : Release on Docker Hub
6637 needs :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments