Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.
/ Linux Public archive

Commit 52e41a6

Browse files
committed
🚀 Minor workflow fix
1 parent e9ac272 commit 52e41a6

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ jobs:
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
@@ -64,14 +56,6 @@ jobs:
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
@@ -80,8 +64,8 @@ jobs:
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:

0 commit comments

Comments
 (0)