Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed May 31, 2024
1 parent 752aa53 commit 073f11e
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,28 @@ jobs:
with:
fetch-depth: 0

- name: Checkout profile
- name: Prüfe, ob release.yml existiert
id: check_file
run: |
if [ ! -f .github/release.yml ]; then
echo "RELEASE_YML_MISSING=true" >> $GITHUB_OUTPUT
fi
- name: Checkout Upstream-Repository (falls release.yml fehlt)
uses: actions/checkout@v4
if: ${{ hashFiles('release.yml') != '' }}
if: steps.check_file.outputs.RELEASE_YML_MISSING == 'true'
with:
repository: "${{ github.repository_owner }}/.github"
sparse-checkout: release.yml
path: upstream
sparse-checkout: config/release.yml
sparse-checkout-cone-mode: false

- name: Kopiere release.yml (falls vorhanden)
if: steps.check_file.outputs.RELEASE_YML_MISSING == 'true'
run: |
cp upstream/config/release.yml .github/release.yml
- name: Create Release Page
shell: bash
env:
Expand Down

0 comments on commit 073f11e

Please sign in to comment.