Skip to content

fix(s3): 🔒 unexport client constructors, document provider patterns #14

fix(s3): 🔒 unexport client constructors, document provider patterns

fix(s3): 🔒 unexport client constructors, document provider patterns #14

Workflow file for this run

name: "📦 Release"

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 14, Col: 9): Unexpected symbol: '=~'. Located at position 17 within expression: github.ref_name =~ '^v[0-9]+\\.[0-9]+\\.[0-9]+$'
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/*