Skip to content

Fix package.json file #4

Fix package.json file

Fix package.json file #4

Workflow file for this run

name: 'Build'
on:
pull_request:
push:
branches:
- main
jobs:
artifacts:
name : 'Create release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Nerdbank.GitVersioning
uses: dotnet/nbgv@latest
with:
setAllVars: true
stamp: true
# Create a zip from what's in this repo
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'dist/stable.zip'
exclusions: '*.git* /*node_modules/* .editorconfig dist version.json'
command: "mkdir -p dist"
# List all the files that have been created
- name: 'List files'
run: |
find dist/ -maxdepth 2 -type f
- uses: BetaHuhn/do-spaces-action@latest
with:
access_key: ${{ secrets.SPACE_ACCESS_KEY}}
secret_key: ${{ secrets.SPACE_SECRET_KEY }}
space_name: ${{ secrets.SPACE_NAME }}
space_region: ${{ secrets.SPACE_REGION }}
cdn_domain: ${{ secrets.SPACE_CDN_DOMAIN }}
source: dist
out_dir: configs