Skip to content

Commit

Permalink
Remove part of the build step which is trying to package a binary exe…
Browse files Browse the repository at this point in the history
…cutable
  • Loading branch information
nicholaschiasson committed Jul 4, 2023
1 parent 1a008a0 commit 3bac133
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,7 @@ jobs:
- name: Build
shell: bash
run: |
RAW_BINARY_NAME=fcidr
BINARY_NAME=${RAW_BINARY_NAME}
if [[ ${{ startsWith(matrix.platform, 'windows') }} == true ]]
then
BINARY_NAME=${BINARY_NAME}.exe
fi
cargo build --release --verbose
cp target/release/${BINARY_NAME} ./
tar czf ${RAW_BINARY_NAME}-${{ runner.os }}-${{ runner.arch }}.tar.gz ${BINARY_NAME}
- name: Upload Build Artifact
uses: actions/upload-artifact@v3.1.2
with:
path: '*.tar.gz'
publish:
if: github.event_name == 'push' || (github.base_ref == 'main' && github.event.pull_request.merged == true)
Expand Down Expand Up @@ -146,5 +134,4 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v0.1.15
with:
files: 'artifact/*.tar.gz'
tag_name: ${{ needs.tag.outputs.version }}

0 comments on commit 3bac133

Please sign in to comment.