Skip to content

fix(EDDN): The properties will be allowed soon! Waiting for https://g… #246

fix(EDDN): The properties will be allowed soon! Waiting for https://g…

fix(EDDN): The properties will be allowed soon! Waiting for https://g… #246

Workflow file for this run

name: Continous integration
on:
push:
branches: [ master ]
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set version
id: set-version
run: |
echo "PACKAGE_VERSION=$(date +'%Y.%m.%d.%H%M')" >> $GITHUB_ENV
sed -i "s/{{version}}/$(date +'%Y.%m.%d.%H%M')/g" Journal-Limpet/SharedSettings.cs
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install Octopus CLI
run: |
sudo apt update && sudo apt install --no-install-recommends gnupg curl ca-certificates apt-transport-https && \
curl -sSfL https://apt.octopus.com/public.key | sudo apt-key add - && \
sudo sh -c "echo deb https://apt.octopus.com/ stable main > /etc/apt/sources.list.d/octopus.com.list" && \
sudo apt update && sudo apt install octopuscli
- name: Build and package site for publish
run: |
cd Journal-Limpet && \
dotnet publish Journal-Limpet.csproj --output published-app --configuration Release -p:FileVersion="$PACKAGE_VERSION" -p:AssemblyVersion="$PACKAGE_VERSION" && \
octo pack --id="journal-limpet" --version="$PACKAGE_VERSION" --basePath="./published-app" --outFolder="./published-app" && \
octo push --package="./published-app/journal-limpet.$PACKAGE_VERSION.nupkg" --server="${{ secrets.OCTOPUS_SERVER_URL }}" --apiKey="${{ secrets.OCTOPUS_API_KEY }}"