Skip to content

Commit

Permalink
Use tar.gz for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronayub committed May 25, 2024
1 parent 323d83a commit 8a20e66
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
- name: Install build dependencies
run: |
apt-get update
apt-get install -y meson libgtk-4-dev zip
apt-get install -y meson libgtk-4-dev
- name: meson setup
run: meson setup build
- name: build
run: ninja -C build
- name: package
run: zip dropit.zip README.md COPYING build/dropit
run: |
mv build/dropit dropit
tar -czf dropit.tar.gz README.md COPYING dropit
- uses: actions/github-script@v7
env:
RELEASE_ID: ${{github.event.release.id}}
Expand All @@ -31,6 +33,6 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
release_id: process.env.RELEASE_ID,
name: "dropit_" + process.env.GITHUB_REF_NAME + "_linux64bit.zip",
data: fs.readFileSync("dropit.zip")
name: "dropit_" + process.env.GITHUB_REF_NAME + "_linux64bit.tar.gz",
data: fs.readFileSync("dropit.tar.gz")
});

0 comments on commit 8a20e66

Please sign in to comment.