From ea766fb4a09e323fe708ab27fdeb3fd32288f37e Mon Sep 17 00:00:00 2001 From: PumpkinXD <1042588515@qq.com> Date: Wed, 3 Apr 2024 10:33:41 +0800 Subject: [PATCH] changing CI file again brruh(yaml s***s) --- .github/workflows/ci.yml | 16 +++++----------- .github/workflows/ci_test.yml | 14 ++++---------- centos_logo_neofetch.txt | 23 ----------------------- 3 files changed, 9 insertions(+), 44 deletions(-) delete mode 100644 centos_logo_neofetch.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ebaaa5..34b805f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,25 +31,19 @@ jobs: - name: Build with xmake run: xmake -y - - name: Extract Platform and Arch - run: | - plat=$(xmake show | grep plat | awk '{print $3}') - arch=$(xmake show | grep arch | awk '{print $3}') - mode=$(xmake show | grep mode | awk '{print $3}') - echo "PLATFORM=$plat" >> $GITHUB_ENV - echo "ARCH=$arch" >> $GITHUB_ENV - echo "MODE=$mode" >> $GITHUB_ENV + - name: Move the binary + run: xmake install -o build/binary - name: Upload Build Artifacts uses: actions/upload-artifact@v4 with: - name: screenfetch-c_${{ env.PLATFORM }}_${{ env.MODE }}_Artifact_Files - path: build/${{ env.PLATFORM }} + name: screenfetch-c_artifact + path: build/build/binary - name: Upload Build Artifacts to GitHub Release uses: svenstaro/upload-release-action@v2.9.0 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: build/${{ env.PLATFORM }}/${{ env.ARCH }}/${{ env.MODE }}/screenfetch-c.com + file: build/binary/screenfetch-c.com asset_name: screenfetch-c.com tag: ${{ github.ref }} overwrite: true \ No newline at end of file diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index 2a5b3a6..34a4b53 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -29,20 +29,14 @@ jobs: - name: Build with xmake run: xmake -y - - name: Extract Platform and Arch - run: | - plat=$(xmake show | grep plat | awk '{print $3}') - arch=$(xmake show | grep arch | awk '{print $3}') - mode=$(xmake show | grep mode | awk '{print $3}') - echo "PLATFORM=$plat" >> $GITHUB_ENV - echo "ARCH=$arch" >> $GITHUB_ENV - echo "MODE=$mode" >> $GITHUB_ENV + - name: Move the binary + run: xmake install -o build/binary - name: Upload Build Artifacts uses: actions/upload-artifact@v4 with: - name: screenfetch-c_${{ env.PLATFORM }}_${{ env.MODE }}_Artifact_Files - path: build/${{ env.PLATFORM }} + name: screenfetch-c_Artifact + path: build/binary - name: Runs on ubuntu-latest run: xmake run diff --git a/centos_logo_neofetch.txt b/centos_logo_neofetch.txt deleted file mode 100644 index 0130d01..0000000 --- a/centos_logo_neofetch.txt +++ /dev/null @@ -1,23 +0,0 @@ - -set_colors 3 2 4 5 7 - - -${c1} .. - .PLTJ. - <><><><> - ${c2}KKSSV' 4KKK ${c1}LJ${c4} KKKL.'VSSKK - ${c2}KKV' 4KKKKK ${c1}LJ${c4} KKKKAL 'VKK - ${c2}V' ' 'VKKKK ${c1}LJ${c4} KKKKV' ' 'V - ${c2}.4MA.' 'VKK ${c1}LJ${c4} KKV' '.4Mb. -${c4} . ${c2}KKKKKA.' 'V ${c1}LJ${c4} V' '.4KKKKK ${c3}. -${c4} .4D ${c2}KKKKKKKA.'' ${c1}LJ${c4} ''.4KKKKKKK ${c3}FA. -${c4} -${c4} 'VD ${c3}KKKKKKKK'.. ${c2}LJ ${c1}..'KKKKKKKK ${c3}FV -${c4} ' ${c3}VKKKKK'. .4 ${c2}LJ ${c1}K. .'KKKKKV ${c3}' - ${c3} 'VK'. .4KK ${c2}LJ ${c1}KKA. .'KV' - ${c3}A. . .4KKKK ${c2}LJ ${c1}KKKKA. . .4 - ${c3}KKA. 'KKKKK ${c2}LJ ${c1}KKKKK' .4KK - ${c3}KKSSA. VKKK ${c2}LJ ${c1}KKKV .4SSKK -${c2} <><><><> - 'MKKM' - ''