Skip to content

Commit

Permalink
files-windows-support: switched files plugin to rust
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiqr committed Oct 21, 2023
1 parent b4e8775 commit 9d4c599
Show file tree
Hide file tree
Showing 13 changed files with 1,117 additions and 239 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ on:
push:
branches:
- main
# TODO: remove
- files-windows-support
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Determine New Version
id: version
uses: zwaldowski/semver-release-action@v2
uses: zwaldowski/semver-release-action@v3
with:
dry_run: true
bump: minor
Expand All @@ -27,6 +29,7 @@ jobs:
# add to path
echo "${HOME}/.nk/bin" >> $GITHUB_PATH
# TODO: build rust plugins (for all targets)
- name: Build assets
env:
REPOSITORY_NAME: ${{ github.event.repository.name }}
Expand All @@ -36,13 +39,14 @@ jobs:
--repo "$REPOSITORY_NAME" \
--version "$TAG" \
./*/plugin.yml
- name: Create Release
env:
GITHUB_USER: ${{ github.repository_owner }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create \
--title "$TAG" \
--notes '' \
"$TAG" \
manifest.yml *.tar.gz
# TODO: DEBUGGING
# - name: Create Release
# env:
# GITHUB_USER: ${{ github.repository_owner }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# gh release create \
# --title "$TAG" \
# --notes '' \
# "$TAG" \
# manifest.yml *.tar.gz
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# nix
/.direnv/

# release assets
/target/
*.tar.gz
manifest.yml
1 change: 1 addition & 0 deletions .rtx.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
env_path = ['./bin']
1 change: 1 addition & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
max_width = 80
Loading

0 comments on commit 9d4c599

Please sign in to comment.