From 508f8926bac553ddc37fafae0249cf948f46e4f5 Mon Sep 17 00:00:00 2001 From: Cervac Petru Date: Sat, 9 Sep 2023 14:26:47 +0100 Subject: [PATCH] ci: add workflow to update version (#69) --- .github/workflows/update-version.yaml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/update-version.yaml diff --git a/.github/workflows/update-version.yaml b/.github/workflows/update-version.yaml new file mode 100644 index 0000000..49a4317 --- /dev/null +++ b/.github/workflows/update-version.yaml @@ -0,0 +1,28 @@ +name: "Release" +on: + workflow_dispatch: + +jobs: + changes: + name: features + runs-on: ubuntu-latest + outputs: + templates: ${{ steps.changed_files.outputs.templates }} + features: ${{ steps.changed_files.outputs.features }} + changesToNuke: ${{ steps.changed_files.outputs.changesToNuke }} + steps: + - uses: actions/checkout@v3 + name: pull branch + with: + fetch-depth: 0 + repository: ${{ github.event.pull_request.head.repo.full_name }} + - name: "Cache: .nuke/temp, ~/.nuget/packages" + uses: actions/cache@v3 + with: + path: | + .nuke/temp + ~/.nuget/packages + key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} + - name: find changed templates & features + id: changed_files + run: ./build.sh ListTemplatesAndFeatures -GithubOutput "$GITHUB_OUTPUT"