Skip to content

Commit

Permalink
Don't tar / zip release (#7).
Browse files Browse the repository at this point in the history
  • Loading branch information
jimafisk committed Nov 5, 2024
1 parent 082010b commit a87fb2c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write # Needed for creating releases

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Important for getting all tags

- name: Create ZIP archive
run: |
zip --symlinks -r osxcross-target.zip . -x ".git/*" ".github/*"
tar --dereference -czf osxcross-target.tar.gz --exclude=".git" --exclude=".github" .

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -30,6 +25,3 @@ jobs:
name: Release ${{ github.ref_name }}
generate_release_notes: true # Generate release notes automatically from commits
prerelease: ${{ contains(github.ref, '-') }} # Allows marking a pre-release based on tag format (e.g., v1.0.0-beta)
files: |
osxcross-target.zip
osxcross-target.tar.gz

0 comments on commit a87fb2c

Please sign in to comment.