Improvements to operations with arrays/indexables (#614) #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Upload last-master versions to MyGet' | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup .NET 7 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.0.100' | |
include-prerelease: true | |
- uses: actions/checkout@v2 | |
- name: 'Pack AngouriMath' | |
run: | | |
cd Sources | |
# versioning | |
commithash=$(git rev-parse --short HEAD) | |
currtime=$(date +%s) | |
echo "commit hash is $commithash" | |
echo "time is $currtime" | |
name=10.0.0-master-$currtime-$commithash | |
echo "name is $name" | |
# AngouriMath | |
cd AngouriMath/AngouriMath | |
dotnet restore AngouriMath.csproj | |
dotnet build AngouriMath.csproj -c release | |
dotnet pack AngouriMath.csproj -c release -p:PackageVersion=$name | |
cd bin/release | |
dotnet nuget push AngouriMath.$name.nupkg --api-key ${{ secrets.MYGET_KEY }} --source "myget" | |
cd ../../../.. | |
# AngouriMath.FSharp | |
cd Wrappers/AngouriMath.FSharp | |
dotnet restore | |
dotnet build -c Release | |
dotnet pack -c Release -p:PackageVersion=$name | |
cd bin/Release | |
dotnet nuget push AngouriMath.FSharp.$name.nupkg --api-key ${{ secrets.MYGET_KEY }} --source "myget" | |
cd ../../../.. | |
# AngouriMath.Interactive | |
cd Wrappers/AngouriMath.Interactive | |
dotnet restore | |
dotnet build -c Release | |
dotnet pack -c Release -p:PackageVersion=$name | |
cd bin/Release | |
dotnet nuget push AngouriMath.Interactive.$name.nupkg --api-key ${{ secrets.MYGET_KEY }} --source "myget" | |
cd ../../../.. |