-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
27 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,6 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Log GITHUB_WORKSPACE | ||
run: | | ||
echo "GITHUB_WORKSPACE is $GITHUB_WORKSPACE" | ||
echo "current directory" | ||
ls | ||
echo "GITHUB_WORKSPACE directory" | ||
ls $GITHUB_WORKSPACE | ||
echo "src directory" | ||
ls $GITHUB_WORKSPACE/src | ||
- name: Setup .NET Core SDK | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -80,31 +70,22 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Log GITHUB_WORKSPACE | ||
shell: bash | ||
run: | | ||
echo "GITHUB_WORKSPACE is $GITHUB_WORKSPACE" | ||
echo "current directory" | ||
ls | ||
echo "GITHUB_WORKSPACE directory" | ||
ls $GITHUB_WORKSPACE | ||
echo "src directory" | ||
ls $GITHUB_WORKSPACE/src | ||
- name: Setup .NET Core SDK | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '8.0.x' | ||
- name: restore workloads | ||
shell: bash | ||
run: | | ||
cd D:/a/Dots/Dots/src | ||
cd $GITHUB_WORKSPACE/src | ||
dotnet workload restore | ||
- name: run housekeeping scripts | ||
shell: bash | ||
run: | | ||
cd D:/a/Dots/Dots/ | ||
cd $GITHUB_WORKSPACE | ||
version=$(cat version.txt) | ||
echo "Version is now $version" | ||
cd D:/a/Dots/Dots/src | ||
cd $GITHUB_WORKSPACE/src | ||
sed -i '' "s/CFBundleVersion>.*</CFBundleVersion>$version</" Dots.csproj | ||
sed -i '' "s/CFBundleShortVersionString>.*</CFBundleShortVersionString>$version</" Dots.csproj | ||
sed -i '' "s/Version>.*</Version>$version</" Dots.csproj | ||
|
@@ -121,22 +102,22 @@ jobs: | |
echo "filenames: $macosx64file $macosarm64file $windowsx86file $windowsx64file $windowsarm64file" | ||
- name: run build scripts | ||
run: | | ||
cd D:/a/Dots/Dots/scripts | ||
cd $GITHUB_WORKSPACE/scripts | ||
bash build-windows.sh | ||
echo "windowsarm64file=$windowsarm64file" >> $GITHUB_ENV | ||
echo "windowsx64file=$windowsx64file" >> $GITHUB_ENV | ||
echo "windowsx86file=$windowsx86file" >> $GITHUB_ENV | ||
- uses: actions/[email protected] | ||
with: | ||
name: ${{ env.windowsx86file }}} | ||
name: ${{ env.windowsx86file }} | ||
path: D:/a/Dots/Dots/src/bin/Release/net8.0/win-x86/publish/*.zip | ||
- uses: actions/[email protected] | ||
with: | ||
name: ${{ env.windowsx64file }}} | ||
name: ${{ env.windowsx64file }} | ||
path: D:/a/Dots/Dots/src/bin/Release/net8.0/win-x64/publish/*.zip | ||
- uses: actions/[email protected] | ||
with: | ||
name: ${{ env.windowsarm64file }}} | ||
name: ${{ env.windowsarm64file }} | ||
path: D:/a/Dots/Dots/src/bin/Release/net8.0/win-arm64/publish/*.zip | ||
|
||
create-release: | ||
|