Skip to content

Commit

Permalink
actions: fix folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranke committed Dec 12, 2024
1 parent 856fd07 commit 2f82c1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 31 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ jobs:
- name: Copy README.md and LICENSE to addon and make a new directory for artifacts
shell: sh
run: |
for addon in ${{ github.workspace }}/project/addons/*/; do
cp --no-clobber '${{ github.workspace }}/README.md' '${{ github.workspace }}/LICENSE' "$addon"
for addon in ${{ github.workspace }}/addons/*/; do
cp --update=none '${{ github.workspace }}/README.md' '${{ github.workspace }}/LICENSE' "$addon"
done
# Works around https://github.com/actions/upload-artifact/issues/174
mkdir ${{ github.workspace }}/${{ github.event.repository.name }}/
mv ${{ github.workspace }}/project/addons/ ${{ github.workspace }}/${{ github.event.repository.name }}/
mkdir --parents ${{ github.workspace }}/github-artifact/${{ github.event.repository.name }}/
mv ${{ github.workspace }}/addons/ ${{ github.workspace }}/github-artifact/${{ github.event.repository.name }}/
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}
path: |
${{ github.workspace }}/${{ github.event.repository.name }}/
${{ github.workspace }}/github-artifact
24 changes: 0 additions & 24 deletions addons/godot_licensing/LICENSE

This file was deleted.

0 comments on commit 2f82c1b

Please sign in to comment.