Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(misc) Port workflow changes to release flow #2199

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: artifacts

- name: Artifacts normalization
shell: bash
run: |
cd artifacts
for i in foss*
do
mv -v $i $(echo $i|cut -d_ -f 2)
done

- name: Upload artifacts to Spaces
uses: jakejarvis/s3-sync-action@master
with:
Expand All @@ -254,5 +263,5 @@ jobs:
AWS_S3_BUCKET: choria-packages-ams
AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_ACCESS_KEY }}
SOURCE_DIR: artifacts/foss
SOURCE_DIR: artifacts
DEST_DIR: release
Loading