diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:23:50 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:23:50 +0200 |
| commit | 97a6b663a1945603e9b55228e8540957d03f2a64 (patch) | |
| tree | e71b5502c0d8fcc93497c0894626b7fdc9a925fe /linux/home/.github/workflows/release.yml | |
| parent | 88370cd83f13c30d68119cbe3b229a1ab559cf55 (diff) | |
| download | dotfiles-97a6b663a1945603e9b55228e8540957d03f2a64.tar.gz dotfiles-97a6b663a1945603e9b55228e8540957d03f2a64.zip | |
Moved files to common/
Diffstat (limited to 'linux/home/.github/workflows/release.yml')
| -rw-r--r-- | linux/home/.github/workflows/release.yml | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/linux/home/.github/workflows/release.yml b/linux/home/.github/workflows/release.yml deleted file mode 100644 index 0dcf439..0000000 --- a/linux/home/.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 |
