Adding Additional Workflows and Actions (#397)
* Cleaning and adding to workflows - Renamed some workflows to better describe it's purpose. - Added steps for autobump - Added steps for sentry maps - Manually pushing sentry map workflow to git initially so it exists already for the workflow-dispatch trigger. Will need to add another commit to revert workflow back to only trigger on dispatch. * Fixing and cleaning workflow - Removed unused discord workflow - Changed sentry map workflow to differentiate between another workflow. - Changed name of new renamed sentry workflow in dispatches. * Updating sentry workflow with dispatch trigger * fixing webui path issue for docker builds
This commit is contained in:
parent
2a34fe4cc7
commit
b5f92d46a9
8 changed files with 115 additions and 105 deletions
24
.github/workflows/nightly-docker.yml
vendored
24
.github/workflows/nightly-docker.yml
vendored
|
|
@ -7,6 +7,7 @@ on:
|
|||
|
||||
jobs:
|
||||
docker:
|
||||
name: Building Nightly Docker
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
|
@ -18,7 +19,6 @@ jobs:
|
|||
with:
|
||||
node-version: '14'
|
||||
- run: |
|
||||
|
||||
cd UI/Web || exit
|
||||
echo 'Installing web dependencies'
|
||||
npm install
|
||||
|
|
@ -31,12 +31,34 @@ jobs:
|
|||
|
||||
cd ../ || exit
|
||||
|
||||
- name: Bump versions
|
||||
uses: SiqiLu/dotnet-bump-version@master
|
||||
with:
|
||||
version_files: "Kavita.Common/Kavita.Common.csproj"
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Get csproj Version
|
||||
uses: naminodarie/get-net-sdk-project-versions-action@v1
|
||||
id: get-version
|
||||
with:
|
||||
proj-path: Kavita.Common/Kavita.Common.csproj
|
||||
|
||||
- name: Echo csproj version
|
||||
run: echo "${{steps.get-version.outputs.assembly-version}}"
|
||||
|
||||
- name: Compile dotnet app
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '5.0.x'
|
||||
- run: ./monorepo-build.sh
|
||||
|
||||
- name: Trigger Sentry workflow
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
workflow: Sentry Map Release
|
||||
token: ${{ secrets.REPO_GHA_PAT }}
|
||||
inputs: '{ "version": "${{steps.get-version.outputs.assembly-version}}" }'
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue