Skip to content

Commit 2ca666a

Browse files
authored
Merge pull request #154 from ripienaar/action_updates
(misc) Attempt to fix nightly builds for new actions
2 parents c8bb5c6 + f5ab2c8 commit 2ca666a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/nightly.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,19 @@ jobs:
5858
runs-on: ubuntu-latest
5959
steps:
6060
- name: Download all artifacts
61-
uses: actions/download-artifact@v3
61+
uses: actions/download-artifact@v4
6262
with:
6363
path: artifacts
6464

65+
- name: Artifacts normalization
66+
shell: bash
67+
run: |
68+
cd artifacts
69+
for i in foss*
70+
do
71+
mv -v $i $(echo $i|cut -d_ -f2-)
72+
done
73+
6574
- name: Upload artifacts to Spaces
6675
uses: jakejarvis/s3-sync-action@master
6776
with:
@@ -70,5 +79,5 @@ jobs:
7079
AWS_S3_BUCKET: choria-packages-ams
7180
AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }}
7281
AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }}
73-
SOURCE_DIR: artifacts/foss
82+
SOURCE_DIR: artifacts
7483
DEST_DIR: nightly

0 commit comments

Comments
 (0)