Skip to content

Commit

Permalink
Feature/session parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ck3mp3r committed Sep 2, 2023
1 parent 18a3f5d commit e0fd021
Show file tree
Hide file tree
Showing 19 changed files with 644 additions and 271 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
echo "Tagging with new version: v$new_version"
sed -i "s/^version = \".*\"/version = \"${new_version}\"/" Cargo.toml
cargo update -p rmux
cargo update -p rmx
git add Cargo.toml Cargo.lock
git commit -m "Bump version in Cargo.toml to ${new_version}"
git push
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: build and release rmux binary
name: build and release rmx binary

on:
workflow_run:
Expand Down Expand Up @@ -50,20 +50,20 @@ jobs:
run: |
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
cross test
cross build --release --target ${{ matrix.target }} --bin rmux
cross build --release --target ${{ matrix.target }} --bin rmx
fi
if [ "${{ matrix.os }}" == "macos-latest" ]; then
rustup target add ${{ matrix.target }}
cargo test
cargo build --release --target ${{ matrix.target }} --bin rmux
cargo build --release --target ${{ matrix.target }} --bin rmx
fi
mv ${{ github.workspace }}/target/${{ matrix.target }}/release/rmux ${{ github.workspace }}/target/${{ matrix.target }}/release/rmux-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}
chmod +x ${{ github.workspace }}/target/${{ matrix.target }}/release/rmux-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}
mv ${{ github.workspace }}/target/${{ matrix.target }}/release/rmx ${{ github.workspace }}/target/${{ matrix.target }}/release/rmx-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}
chmod +x ${{ github.workspace }}/target/${{ matrix.target }}/release/rmx-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: rmux-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}
path: ${{ github.workspace }}/target/${{ matrix.target }}/release/rmux-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}
name: rmx-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}
path: ${{ github.workspace }}/target/${{ matrix.target }}/release/rmx-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}

release:
needs:
Expand Down Expand Up @@ -109,6 +109,6 @@ jobs:
# Upload release assets
- name: Upload release assets
run: |
gh release upload "v${{ env.CARGO_PKG_VERSION }}" ${{ github.workspace }}/target/rmux-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}/rmux-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }} --clobber
gh release upload "v${{ env.CARGO_PKG_VERSION }}" ${{ github.workspace }}/target/rmx-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }}/rmx-${{ env.CARGO_PKG_VERSION }}-${{ matrix.target }} --clobber
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .rmux.yaml → .rmx.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: rmux-test
name: rmx-test

path: .

Expand Down
Loading

0 comments on commit e0fd021

Please sign in to comment.