Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 07e3aa0

Browse files
committed
Fixed copy & paste errors due to operators being different in structure from the agent.
1 parent 87f5c87 commit 07e3aa0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_artifacts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
- uses: actions/checkout@v2
2121
- name: Change version if is PR
2222
if: ${{ github.event_name == 'pull_request' }}
23-
run: sed -i -e 's/^version = "\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/version = "\1-pr${{ github.event.number }}"/' server/Cargo.toml
23+
run: sed -i -e 's/^version = "\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/version = "\1-pr${{ github.event.number }}"/' Cargo.toml
2424
- name: Build
2525
run: ~/.cargo/bin/cargo +nightly build --verbose --release
2626
- name: Build apt package
27-
run: ~/.cargo/bin/cargo deb --manifest-path server/Cargo.toml --no-build
27+
run: ~/.cargo/bin/cargo deb --manifest-path Cargo.toml --no-build
2828
- name: Publish nightly apt package
2929
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
3030
run: >-
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@v2
5656
- name: Change version if is PR
5757
if: ${{ github.event_name == 'pull_request' }}
58-
run: sed -i -e 's/^version = "\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/version = "\1-pr${{ github.event.number }}"/' server/Cargo.toml
58+
run: sed -i -e 's/^version = "\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/version = "\1-pr${{ github.event.number }}"/' Cargo.toml
5959
- name: Build
6060
run: ~/.cargo/bin/cargo +nightly build --verbose --release
6161
- name: Build RPM package

0 commit comments

Comments
 (0)