Skip to content

Commit

Permalink
Add bundle migrations step to publish nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaioru committed Aug 6, 2022
1 parent 3a7cc3a commit 924411c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ jobs:
${{ runner.os }}-nuget
- name: Publish
run: dotnet publish -c Release -r ${{ matrix.runtime }} --output artifacts-${{ matrix.runtime }} -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:SelfContained=true
- name: Bundle migrations
run: |
dotnet ef migrations bundle --project src/common/Edelstein.Common.Gameplay.Database/ --output artifacts-${{ matrix.runtime }}/migrate-01-gameplay --self-contained -r ${{ matrix.runtime }}
dotnet ef migrations bundle --project src/common/Edelstein.Common.Services.Auth/ --output artifacts-${{ matrix.runtime }}/migrate-02-auth --self-contained -r ${{ matrix.runtime }}
dotnet ef migrations bundle --project src/common/Edelstein.Common.Services.Server/ --output artifacts-${{ matrix.runtime }}/migrate-03-server --self-contained -r ${{ matrix.runtime }}
- name: Add VERSION, COMMIT, LICENSE, and README files
run: |
echo "nightly.${{ needs.setup.outputs.date }}" > artifacts-${{ matrix.runtime }}/VERSION
Expand Down

0 comments on commit 924411c

Please sign in to comment.