Skip to content

Commit

Permalink
ci: Update commands
Browse files Browse the repository at this point in the history
  • Loading branch information
itssimple committed Dec 30, 2024
1 parent 3892e87 commit 3c95290
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
run: |
cd CFLookup && \
dotnet publish CFLookup.csproj --output published-app --configuration Release -p:FileVersion="$PACKAGE_VERSION" -p:AssemblyVersion="$PACKAGE_VERSION" && \
octo pack --id="whatcurseforgeprojectisthis" --version="$PACKAGE_VERSION" --basePath="./published-app" --outFolder="./published-app" && \
octo push --package="./published-app/whatcurseforgeprojectisthis.$PACKAGE_VERSION.nupkg" --server="${{ secrets.OCTOPUS_SERVER_URL }}" --apiKey="${{ secrets.OCTOPUS_API_KEY }}"
dotnet-octo pack --id="whatcurseforgeprojectisthis" --version="$PACKAGE_VERSION" --basePath="./published-app" --outFolder="./published-app" && \
dotnet-octo push --package="./published-app/whatcurseforgeprojectisthis.$PACKAGE_VERSION.nupkg" --server="${{ secrets.OCTOPUS_SERVER_URL }}" --apiKey="${{ secrets.OCTOPUS_API_KEY }}"
- name: Build and package the bot for publish
run: |
cd CFDiscordBot && \
dotnet publish CFDiscordBot.csproj --output published-bot --configuration Release -p:FileVersion="$PACKAGE_VERSION" -p:AssemblyVersion="$PACKAGE_VERSION" && \
octo pack --id="cflookupbot" --version="$PACKAGE_VERSION" --basePath="./published-bot" --outFolder="./published-bot" && \
octo push --package="./published-bot/cflookupbot.$PACKAGE_VERSION.nupkg" --server="${{ secrets.OCTOPUS_SERVER_URL }}" --apiKey="${{ secrets.OCTOPUS_API_KEY }}"
dotnet-octo pack --id="cflookupbot" --version="$PACKAGE_VERSION" --basePath="./published-bot" --outFolder="./published-bot" && \
dotnet-octo push --package="./published-bot/cflookupbot.$PACKAGE_VERSION.nupkg" --server="${{ secrets.OCTOPUS_SERVER_URL }}" --apiKey="${{ secrets.OCTOPUS_API_KEY }}"

0 comments on commit 3c95290

Please sign in to comment.