Skip to content

Commit

Permalink
Merge pull request #20 from betadots/testing
Browse files Browse the repository at this point in the history
testing
  • Loading branch information
rwaffen authored May 31, 2024
2 parents 752aa53 + 073f11e commit 03ea0be
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 03ea0be

Please sign in to comment.