mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 05:25:28 +03:00
Remove a bunch of code.
This commit is contained in:
parent
900c839409
commit
06de06dd3d
16
.github/workflows/release_macos.yml
vendored
16
.github/workflows/release_macos.yml
vendored
@ -13,22 +13,6 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Stack
|
||||
uses: actions/setup-haskell@v1.1
|
||||
with:
|
||||
stack-version: 'latest'
|
||||
enable-stack: true
|
||||
|
||||
- run: echo ::set-env name=GITHUB_SHA::$GITHUB_SHA
|
||||
shell: bash
|
||||
|
||||
- name: Cache ~/.stack
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.stack
|
||||
key: ${{ runner.os }}-stack-${{ env.GITHUB_SHA }}
|
||||
restore-keys: ${{ runner.os }}-stack-
|
||||
|
||||
- name: Build and zip
|
||||
run: ./release.sh ${{ github.ref }} --noprompt
|
||||
|
||||
|
@ -31,15 +31,6 @@ echo
|
||||
echo "Building Haskell Stack project..."
|
||||
stack build
|
||||
|
||||
carpExePath="$(which carp)"
|
||||
|
||||
if [ "$carpExePath" == "" ]; then
|
||||
echo "ERROR: Can't find the carp executable on your system.";
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
echo "Path of Carp executable = '$carpExePath'"
|
||||
|
||||
mkdir "$fullPath/bin"
|
||||
echo "Copying executable..."
|
||||
cp "$(stack path --local-install-root)/bin/carp" $fullPath/bin/carp
|
||||
|
Loading…
Reference in New Issue
Block a user