Compare commits
No commits in common. "ab1cfe9243e64a3f790c6141a9c462dcf9d29798" and "8a0f1ba704c12328ef68a55a08dd37a63d198984" have entirely different histories.
ab1cfe9243
...
8a0f1ba704
@ -8,18 +8,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
env:
|
||||||
image: git.mixedup.dev/quik/docker-cross-compiler
|
QUIK_API_KEY: "${{secrets.QUIK_API_KEY}}"
|
||||||
env:
|
|
||||||
QUIK_API_KEY: "${{secrets.QUIK_API_KEY}}"
|
|
||||||
volumes:
|
|
||||||
- ${{ gitea.workspace }}:/home/quik/src
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Update Package Repository.
|
||||||
|
run: apt update -y
|
||||||
|
- name: Gather dependencies.
|
||||||
|
run: apt install -y docker.io docker-compose
|
||||||
- name: Check repository out.
|
- name: Check repository out.
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
- name: Run Build Script
|
- name: Run Build Script
|
||||||
run: "./build_native.sh"
|
run: docker-compose run build
|
||||||
- name: Publish Package
|
working-directory: ${{ gitea.workspace }}
|
||||||
run: "./publish.sh"
|
- name: Upload NuGet Package
|
||||||
|
run: "bash ${{ gitea.workspace }}/publish.sh"
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,5 +2,3 @@
|
|||||||
**/obj
|
**/obj
|
||||||
**/out
|
**/out
|
||||||
**/runtimes
|
**/runtimes
|
||||||
**/.vs*
|
|
||||||
**/.atom
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit d9c98b5cdc37b2ba1855c8fa9ce0fac8266b0f89
|
Subproject commit ebfc8a694615a8a6c9d35652279a9748ff43db3d
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
cd $(dirname "$0")
|
|
||||||
if [ -z "$QUIK_API_KEY" ]
|
|
||||||
then
|
|
||||||
echo "Please define QUIK_API_KEY"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
pwd
|
|
||||||
docker-compose run build && docker-compose run publish
|
|
2
build_native.sh
Executable file → Normal file
2
build_native.sh
Executable file → Normal file
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd $(dirname "$0")
|
cd $(dirname "$0")
|
||||||
./Quik.Common/sh/quik_build_native.sh .
|
Quik.Common/sh/quik_build_native.sh .
|
||||||
dotnet build
|
dotnet build
|
||||||
|
@ -5,12 +5,4 @@ services:
|
|||||||
image: git.mixedup.dev/quik/docker-cross-compiler
|
image: git.mixedup.dev/quik/docker-cross-compiler
|
||||||
command: "/home/quik/src/build_native.sh"
|
command: "/home/quik/src/build_native.sh"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/home/quik/src
|
- .:/home/quik/src
|
||||||
publish:
|
|
||||||
image: git.mixedup.dev/quik/docker-cross-compiler
|
|
||||||
command: "/home/quik/src/publish.sh"
|
|
||||||
environment:
|
|
||||||
QUIK_API_KEY: ${QUIK_API_KEY}
|
|
||||||
volumes:
|
|
||||||
- .:/home/quik/src
|
|
||||||
|
|
7
publish.sh
Executable file → Normal file
7
publish.sh
Executable file → Normal file
@ -7,8 +7,5 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dotnet nuget add source \
|
dotnet nuget add source -n QUIK -u themixedupstuff -p "$QUIK_API_KEY" https://git.mixedup.dev/api/packages/QUIK/nuget/index.json
|
||||||
-n QUIK -u themixedupstuff -p "$QUIK_API_KEY" \
|
dotnet nuget push -s QUIK
|
||||||
--store-password-in-clear-text \
|
|
||||||
https://git.mixedup.dev/api/packages/QUIK/nuget/index.json
|
|
||||||
dotnet nuget push -s QUIK bin/*/*.nupkg
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user