-
-
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.
- Loading branch information
0 parents
commit 2366d1d
Showing
7 changed files
with
2,846 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# These are supported funding model platforms | ||
|
||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
polar: # Replace with a single Polar username | ||
buy_me_a_coffee: meetrevision | ||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
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,49 @@ | ||
name: Archive and Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
env: | ||
SXSC_REPO: 'https://github.com/Atlas-OS/sxsc' | ||
FILENAME: 'Revi-PB-${{ github.ref_name }}.apbx' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
# Credits to echnobas, Atlas and all the contributors. | ||
- name: Git clone sxsc | ||
run: | | ||
git clone --depth=1 ${{ env.SXSC_REPO }} sxsc-src | ||
- name: Build cab | ||
run: | | ||
pip install -r requirements.txt | Out-Null | ||
New-Item -ItemType Directory -Force -Path "..\release" | Out-Null | ||
foreach ($file in Get-ChildItem -Path "..\" -Recurse -File -Filter "*.yaml") { | ||
Copy-Item -Path $file.FullName -Destination "cfg.yaml" -Force | Out-Null | ||
(Get-Content cfg.yaml) -replace 'version: 1.0.0.0', "version: ${{ github.ref_name }}" | Set-Content cfg.yaml -Force | ||
python sxsc.py | ||
if ($LASTEXITCODE -ne 0) { exit 1 } | ||
.\build.bat | ||
Move-Item -Path *.cab -Destination "..\release\" -Force | Out-Null | ||
.\clean.bat | ||
} | ||
working-directory: sxsc-src | ||
# | ||
|
||
|
||
- name: Release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.TOKEN }} | ||
file: release/*.cab | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true |
Oops, something went wrong.