generated from phpvms/config_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use package.json instead of manifest; use nerdbank versioning by default
- Loading branch information
Showing
4 changed files
with
47 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,23 +11,26 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Create a zip from what's in this repo | ||
- name: Nerdbank.GitVersioning | ||
uses: dotnet/nbgv@latest | ||
setAllVars: true | ||
stamp: true | ||
|
||
# Create a zip from what's in this repo | ||
- name: Archive Release | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
directory: 'dist/' | ||
path: '../' | ||
filename: 'stable.zip' | ||
exclusions: '*.git* /*node_modules/* .editorconfig dist' | ||
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@v2 | ||
- uses: BetaHuhn/do-spaces-action@latest | ||
with: | ||
access_key: ${{ secrets.SPACE_ACCESS_KEY}} | ||
secret_key: ${{ secrets.SPACE_SECRET_KEY }} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "system_configs", | ||
"version": "1.0.0", | ||
"config": { | ||
"aircraft": { | ||
"path": "aircraft" | ||
}, | ||
"rules": { | ||
"path": "rules" | ||
}, | ||
"scripts": { | ||
"path": "sounds" | ||
}, | ||
"sounds": { | ||
"path": "sounds" | ||
} | ||
}, | ||
"private": true | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", | ||
"version": "2.0", | ||
"cloudBuild": { | ||
"buildNumber": { | ||
"enabled": true | ||
}, | ||
"setVersionVariables": true, | ||
"setAllVariables": true | ||
}, | ||
"pathFilters": [ | ||
":!/.github", | ||
":!/azure-pipelines.yml" | ||
], | ||
"publicReleaseRefSpec": [ | ||
"^refs/heads/main", | ||
"^refs/heads/v\\d+(?:\\.\\d+)?$" | ||
] | ||
} |