diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 80ed857..4fcb11d 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -93,22 +93,24 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} draft: true body: "For apk/deb/rpm packages, you can use the rakudo-pkg [OS repositories](https://github.com/nxadm/rakudo-pkg#os-repositories)." - # release-to-repos: - # needs: release-to-github - # runs-on: ubuntu-latest - # env: - # CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} - # steps: - # - name: Retrieve sources - # uses: actions/download-artifact@v4 - # with: - # name: sources - # - name: Download packages - # uses: actions/download-artifact@v4 - # with: - # name: packages-* - # path: packages - # - name: Upload to repository - # run: | - # chmod +x actions/* - # actions/upload.sh packages + release-to-repos: + needs: release-to-github + runs-on: ubuntu-latest + env: + CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} + steps: + - name: Retrieve sources + uses: actions/download-artifact@v4 + with: + name: sources + - name: Download packages + uses: actions/download-artifact@v4 + with: + path: packages + pattern: packages-* + merge-multiple: true + - run: ls -R packages + - name: Upload to repository + run: | + chmod +x actions/* + actions/upload.sh packages