Skip to content

Commit 027f7ad

Browse files
committed
removes deb, rpm and pacman to test asset upload
1 parent 1dd54de commit 027f7ad

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

.github/workflows/deployments.yml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ jobs:
3434
- run: npm run -loglevel ${NPM_DEBUG_LEVEL} deploy:darwin-x64
3535
- run: npm run -loglevel ${NPM_DEBUG_LEVEL} deploy:darwin-arm64
3636
- run: xvfb-run npm run -loglevel ${NPM_DEBUG_LEVEL} deploy:win32
37-
- run: |
38-
# dependencies for RPM, DEB and Pacman binaries
39-
# install fpm
40-
sudo gem install --no-document fpm
41-
# needed to deploy on rpm / pacman
42-
sudo apt-get install -y -qq rpm libarchive-tools
37+
#- run: |
38+
# # dependencies for RPM, DEB and Pacman binaries
39+
# # install fpm
40+
# sudo gem install --no-document fpm
41+
# # needed to deploy on rpm / pacman
42+
# sudo apt-get install -y -qq rpm libarchive-tools
4343
# build rpm, deb and pacman
44-
- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-x64:rpm:nodep
45-
- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-x64:deb:nodep
46-
- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-x64:pacman:nodep
47-
- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-ia32:rpm:nodep
48-
- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-ia32:deb:nodep
49-
- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-ia32:pacman:nodep
44+
#- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-x64:rpm:nodep
45+
#- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-x64:deb:nodep
46+
#- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-x64:pacman:nodep
47+
#- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-ia32:rpm:nodep
48+
#- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-ia32:deb:nodep
49+
#- run: npm run -loglevel ${NPM_DEBUG_LEVEL} gulp deploy:linux-ia32:pacman:nodep
5050
#
5151
- name: Create Release
5252
id: create_release
@@ -62,9 +62,14 @@ jobs:
6262
- Second Change
6363
draft: false
6464
prerelease: true
65-
files: |
66-
dist/*.tar
67-
dist/*.deb
68-
dist/*.tag.gz
69-
dist/*.rpm
70-
dist/*.zip
65+
#
66+
- name: Upload Release Asset
67+
id: upload-release-asset
68+
uses: actions/upload-release-asset@v1
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
with:
72+
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
73+
asset_path: ./dist/yakyak-${{YAKYAK_VERSION}}-win32-x64.zip
74+
asset_name: yakyak-${{YAKYAK_VERSION}}-win32-x64.zip
75+
asset_content_type: application/zip

0 commit comments

Comments
 (0)