Skip to content

Convert Preview to Stable #1

Convert Preview to Stable

Convert Preview to Stable #1

name: Convert Preview to Stable
on:
workflow_dispatch:
permissions:
contents: write
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout Metadata
uses: actions/checkout@v3
with:
ref: metadata
- name: Copy Files
shell: pwsh
env:
V: v1
run: |
Copy-Item $env:V/release_preview_arm64.json $env:V/release_stable_arm64.json -Force
Copy-Item $env:V/release_preview_x64.json $env:V/release_stable_x64.json -Force
Copy-Item $env:V/version_preview_arm64.json $env:V/version_stable_arm64.json -Force
Copy-Item $env:V/version_preview_x64.json $env:V/version_stable_x64.json -Force
- name: Push Metadata
run: |
git config --global user.name '${{ github.actor }}'
git config --global user.email '${{ github.actor }}@users.noreply.github.com'
git commit -am "convert preview to stable"
git push