Skip to content

Commit

Permalink
feat: bump to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
ceopaludetto committed Oct 7, 2024
1 parent 8bce40c commit d2ffe88
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ jobs:
target: x86_64-unknown-linux-gnu
binary: libxid.so

# Linux ARM64
- build: linux (aarch64)
os: ubuntu-latest
target: aarch64-unknown-linux-gnu
binary: libxid.so

# MacOS x86_64
- build: macos (x86_64)
os: macos-latest
Expand Down Expand Up @@ -74,7 +68,6 @@ jobs:
name: Release
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/tags/v*'

steps:
- name: Checkout Repository
Expand All @@ -85,10 +78,16 @@ jobs:
with:
path: ./binaries

- name: Zip Artifacts
run: |
for folder in binaries/*; do
zip -rj "$folder.zip" "$folder"
done
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./binaries/*
files: ./binaries/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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 = "sqlite-xid"
version = "0.0.2"
version = "0.0.3"
edition = "2021"

[dependencies]
Expand Down
3 changes: 3 additions & 0 deletions script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
for folder in .github/*; do
zip -r "$folder.zip" "$folder"
done

0 comments on commit d2ffe88

Please sign in to comment.