fix(s3): 🔒 unexport client constructors, document provider patterns #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "📦 Release" | ||
| on: | ||
| push: | ||
| tags: ["v*"] | ||
| permissions: | ||
| contents: write | ||
| jobs: | ||
| package: | ||
| name: "📦 Package" | ||
| runs-on: ubuntu-latest | ||
| if: ${{ github.ref_name =~ '^v[0-9]+\\.[0-9]+\\.[0-9]+$' }} | ||
| steps: | ||
| - name: "📥 Checkout" | ||
| uses: actions/checkout@v4 | ||
| - name: "📦 Package" | ||
| run: | | ||
| mkdir -p dist | ||
| VERSION="${GITHUB_REF_NAME}" | ||
| git archive --format=tar.gz --output="dist/lode-${VERSION}.tar.gz" HEAD | ||
| sha256sum "dist/lode-${VERSION}.tar.gz" > "dist/lode-${VERSION}.tar.gz.sha256" | ||
| - name: "⬆️ Upload Artifacts" | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: release-dist | ||
| path: dist/ | ||
| hold: | ||
| name: "⏸️ Release Approval" | ||
| runs-on: ubuntu-latest | ||
| needs: [package] | ||
| environment: | ||
| name: release | ||
| steps: | ||
| - name: "✅ Await Approval" | ||
| run: echo "Release approved; continuing." | ||
| release: | ||
| name: "🚀 GitHub Release" | ||
| runs-on: ubuntu-latest | ||
| needs: [hold] | ||
| steps: | ||
| - name: "⬇️ Download Artifacts" | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: release-dist | ||
| path: dist | ||
| - name: "🚀 Create Release" | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| tag_name: ${{ github.ref_name }} | ||
| generate_release_notes: true | ||
| files: dist/* | ||