2626 - uses : actions/checkout@v4
2727
2828 - name : Install Packages
29- run : sudo apt-get update && sudo apt upgrade -y && sudo apt-get install build-essential -y
29+ run : |
30+ sudo apt-get update
31+ sudo apt upgrade -y
32+ sudo apt-get install build-essential libwayland-dev libarchive-tools -y
3033
3134 - name : Get submodules
3235 uses : actions/checkout@v4
4649 uses : actions/upload-artifact@v3
4750 with :
4851 name : customfetch
49- path : customfetch.tar.gz
52+ path : ./ customfetch.tar.gz
5053
5154 build-gui :
5255 runs-on : ubuntu-latest
5558 - uses : actions/checkout@v4
5659
5760 - name : Install Packages
58- run : sudo apt-get update && sudo apt upgrade -y && sudo apt-get install build-essential libgtk-3-dev pkg-config libgtkmm-3.0-dev -y
61+ run : |
62+ sudo apt-get update
63+ sudo apt upgrade -y
64+ sudo apt-get install build-essential libwayland-dev libgtk-3-dev pkg-config libgtkmm-3.0-dev libarchive-tools -y
5965
6066 - name : Get submodules
6167 uses : actions/checkout@v4
@@ -69,13 +75,13 @@ jobs:
6975 run : make DEBUG=0 GUI_MODE=1
7076
7177 - name : Make Release
72- run : make dist DEBUG=0 && mv ./customfetch-*.tar.gz ./customfetch-gui.tar.gz
78+ run : make dist DEBUG=0 GUI_MODE=1 && mv ./customfetch-*.tar.gz ./customfetch-gui.tar.gz
7379
7480 - name : Upload to github artifacts
7581 uses : actions/upload-artifact@v3
7682 with :
7783 name : customfetch-gui
78- path : customfetch-gui.tar.gz
84+ path : ./ customfetch-gui.tar.gz
7985
8086 release :
8187 name : Create GitHub Release
@@ -104,16 +110,17 @@ jobs:
104110 permissions :
105111 contents : write
106112 steps :
107- - uses : actions/download-artifact@v4
108- with :
109- name : customfetch
113+ - uses : actions/download-artifact@v3
114+
115+ - name : tree that thing
116+ run : sudo apt install tree -y && tree
110117
111118 - uses : actions/upload-release-asset@v1
112119 env :
113120 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
114121 with :
115122 upload_url : ${{ needs.release.outputs.release-url }}
116- asset_path : . /customfetch.tar.gz
123+ asset_path : customfetch /customfetch.tar.gz
117124 asset_name : customfetch-${{ needs.get-version.outputs.version }}.tar.gz
118125 asset_content_type : application/tar+gz
119126
@@ -122,6 +129,6 @@ jobs:
122129 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
123130 with :
124131 upload_url : ${{ needs.release.outputs.release-url }}
125- asset_path : . /customfetch-gui.tar.gz
126- asset_name : customfetch-${{ needs.get-version.outputs.version }}.tar.gz
132+ asset_path : customfetch-gui /customfetch-gui.tar.gz
133+ asset_name : customfetch-gui- ${{ needs.get-version.outputs.version }}.tar.gz
127134 asset_content_type : application/tar+gz
0 commit comments