Skip to content

Commit

Permalink
fix: release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jooooscha committed Dec 15, 2024
1 parent e6bec2d commit 20a066e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 35 deletions.
37 changes: 4 additions & 33 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ jobs:
run: |
cargo build --release
# Upload build artifacts
# - name: Upload release artifacts
# uses: actions/upload-artifact@v4
# with:
# name: build-artifacts
# path: target/release/
# Optionally compress the build output
- name: Compress build output
run: |
tar -czvf tyt-linux.tar.gz -C target/release/ tyt
- name: Release
uses: softprops/action-gh-release@v2
Expand All @@ -43,30 +41,3 @@ jobs:
files: target/release/tyt
fail_on_unmatched_files: true

# # Create a release and upload binaries
# - name: Create GitHub Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref_name }}
# release_name: Release ${{ github.ref_name }}
# draft: false
# prerelease: false

# - name: Upload Release Assets
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: target/release/ # Path to the built binaries
# asset_name: build_output.tar.gz # Rename the uploaded artifact
# asset_content_type: application/gzip

# Optionally compress the build output
- name: Compress build output
run: |
tar -czvf build_output.tar.gz -C target/release .
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tyt"
version = "2.0.3"
version = "2.0.4"
authors = ["jooooscha <j.loos@posteo.net>"]
edition = "2021"

Expand Down

0 comments on commit 20a066e

Please sign in to comment.