From 19120d4f9761c67d99ed1ce3da6084b83f5a49c9 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 30 Aug 2025 19:22:59 +0200 Subject: Linux-specific dotfiles --- .github/workflows/release.yml | 59 ------------------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 .github/workflows/release.yml (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 0dcf439..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Create Release - -on: - push: - tags: - - 'v*' # This triggers the workflow on version tags - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Download dotfiles zip - run: | - mkdir -p $HOME/temp-dotfiles - cd $HOME/temp-dotfiles - echo "Downloading dotfiles-main.zip..." - curl -LOk https://github.com/srdusr/dotfiles/archive/main.zip - ls -lh main.zip # Log file size - unzip main.zip -d dotfiles-main - mv dotfiles-main/dotfiles-main dotfiles - ls -lh dotfiles # Log extracted files - - - name: Create zip file - run: | - cd $HOME/temp-dotfiles - zip -r dotfiles.zip dotfiles - - - name: Move zip file to home directory - run: | - mv /home/runner/temp-dotfiles/dotfiles.zip /home/runner/dotfiles.zip - ls -lh $HOME/dotfiles.zip # Verify existence after move (optional) - - - name: Clean up - run: | - rm -rf $HOME/temp-dotfiles - echo $HOME - - - name: Create GitHub Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: Automatically generated release - draft: false - prerelease: false - - - name: Upload zip to release - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: /home/runner/dotfiles.zip - asset_name: dotfiles.zip - asset_content_type: application/zip -- cgit v1.2.3