Skip to content

Commit

Permalink
removing controller stuff and .d files from release
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Upadhyay <[email protected]>
  • Loading branch information
amitu authored Nov 7, 2023
1 parent f4c7939 commit 97bec68
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,7 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: linux_musl_x86_64
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
- name: Build-musl
uses: gmiam/rust-musl-action@9e6a37bf27ecfffb6b92240ea276bea5487fa15d
continue-on-error: false
with:
args: cargo build --target $BUILD_TARGET --release --features controller
- uses: actions/upload-artifact@v2
with:
name: fastn_controller_linux_musl_x86_64
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}*
path: target/x86_64-unknown-linux-musl/release/${{ env.BINARY_NAME }}
release-windows:
name: Build for Windows
runs-on: windows-latest
Expand Down Expand Up @@ -131,10 +122,6 @@ jobs:
with:
name: linux_musl_x86_64
path: ~/download/linux_musl
- uses: actions/download-artifact@v2
with:
name: fastn_controller_linux_musl_x86_64
path: ~/download/fastn_controller_linux_musl
- uses: actions/download-artifact@v2
with:
name: windows_x64_latest
Expand All @@ -149,16 +136,13 @@ jobs:
mv ~/download/windows/windows_x64_installer.exe ~/download/windows/fastn_setup.exe
mv ~/download/macos/fastn ~/download/macos/fastn_macos_x86_64
mv ~/download/linux_musl/fastn ~/download/linux_musl/fastn_linux_musl_x86_64
mv ~/download/linux_musl/fastn.d ~/download/linux_musl/fastn_linux_musl_x86_64.d
mv ~/download/fastn_controller_linux_musl/fastn ~/download/fastn_controller_linux_musl/fastn_controller_linux_musl_x86_64
mv ~/download/fastn_controller_linux_musl/fastn.d ~/download/fastn_controller_linux_musl/fastn_controller_linux_musl_x86_64.d
- name: Update .github/RELEASE_TEMPLATE.md
run: |
sed -i "s/GITHUB_SHA/${GITHUB_SHA}/g" .github/RELEASE_TEMPLATE.md
sed -i "s/DATE/$(date)/g" .github/RELEASE_TEMPLATE.md
- uses: ncipollo/release-action@v1
with:
artifacts: "~/download/windows/fastn_windows_x86_64.exe,~/download/windows/fastn_setup.exe,~/download/macos/fastn_macos_x86_64,~/download/linux_musl/fastn_linux_musl_x86_64,~/download/linux_musl/fastn_linux_musl_x86_64.d,~/download/fastn_controller_linux_musl/fastn_controller_linux_musl_x86_64,~/download/fastn_controller_linux_musl/fastn_controller_linux_musl_x86_64.d"
artifacts: "~/download/windows/fastn_windows_x86_64.exe,~/download/windows/fastn_setup.exe,~/download/macos/fastn_macos_x86_64,~/download/linux_musl/fastn_linux_musl_x86_64"
generateReleaseNotes: true
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.inputs.releaseTag }}
Expand Down

0 comments on commit 97bec68

Please sign in to comment.