This repository was archived by the owner on Jul 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 1818 echo "::set-output name=timestamp::$(date +%s)"
1919 echo "::set-output name=productName::$(node -p -e "require('./package.json').productName")"
2020 echo "::set-output name=version::$(node -p -e "require('./package.json').version")"
21- echo "::set-output name=dir::$(yarn cache dir)"
22- - uses : actions/cache@v1
23- id : yarn-cache
24- with :
25- path : ${{ steps.info.outputs.dir }}
26- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
27- restore-keys : |
28- ${{ runner.os }}-yarn-
2921 - name : Install Dependencies
3022 run : |
3123 yarn install
6456 run : |
6557 echo "::set-output name=productName::$(node -p -e "require('./package.json').productName")"
6658 echo "::set-output name=version::$(node -p -e "require('./package.json').version")"
67- echo "::set-output name=dir::$(yarn cache dir)"
68- - uses : actions/cache@v1
69- id : yarn-cache
70- with :
71- path : ${{ steps.info.outputs.dir }}
72- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
73- restore-keys : |
74- ${{ runner.os }}-yarn-
7559 - name : Install Dependencies
7660 run : |
7761 yarn install
8064 run : yarn run build
8165 - name : Publish
8266 run : |
83- curl -T ./dist/app/dist/${{ steps.info.outputs.productName }}.deb -udoomlerd:${{ secrets.BT_KEY }} "https://api.bintray.com/content/premid/debian-ubuntu/premid/${{ steps.info.outputs.version }}-${{ steps.info.outputs.timestamp }} /pool/stable/p/premid_${{ steps.info.outputs.version }}-${{ steps.info.outputs.timestamp }}_amd64.deb;deb_distribution=stable;deb_component=main;deb_architecture=amd64;publish=1"
84- curl -T ./dist/app/dist/${{ steps.info.outputs.productName }}.rpm -udoomlerd:${{ secrets.BT_KEY }} "https://api.bintray.com/content/premid/redhat/premid/${{ steps.info.outputs.version }}-${{ steps.info.outputs.timestamp }} /main/premid-${{ steps.info.outputs.version }}.${{ steps.info.outputs.timestamp }}.x86_64.rpm;publish=1"
67+ curl -T ./dist/app/dist/${{ steps.info.outputs.productName }}.deb -udoomlerd:${{ secrets.BT_KEY }} "https://api.bintray.com/content/premid/debian-ubuntu/premid/${{ steps.info.outputs.version }}/pool/stable/p/premid_${{ steps.info.outputs.version }}_amd64.deb;deb_distribution=stable;deb_component=main;deb_architecture=amd64;publish=1"
68+ curl -T ./dist/app/dist/${{ steps.info.outputs.productName }}.rpm -udoomlerd:${{ secrets.BT_KEY }} "https://api.bintray.com/content/premid/redhat/premid/${{ steps.info.outputs.version }}/main/premid-${{ steps.info.outputs.version }}.x86_64.rpm;publish=1"
8569 - name : Create Release
8670 uses : softprops/action-gh-release@v1
8771 with :
You can’t perform that action at this time.
0 commit comments