diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions.yml similarity index 91% rename from .github/workflows/github-actions-demo.yml rename to .github/workflows/github-actions.yml index a732b90..9933820 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions.yml @@ -12,16 +12,20 @@ jobs: runner: windows-latest name: windows outputname: Alma.exe + version_script: .scripts/versioning.ps1 - runtime: linux-x64 runner: ubuntu-latest name: linux outputname: Alma + version_script: .scripts/versioning.sh steps: - uses: actions/checkout@v3 - name: Setup dotnet uses: actions/setup-dotnet@v3 with: dotnet-version: '7.0.x' + - name: Patch version + run: ${{ matrix.target.version_script }} - name: Restore dependencies run: dotnet restore src/Alma - name: Build diff --git a/.scripts/versioning.ps1 b/.scripts/versioning.ps1 new file mode 100644 index 0000000..e69de29 diff --git a/.scripts/versioning.sh b/.scripts/versioning.sh new file mode 100755 index 0000000..e69de29