Skip to content

temp

temp #45

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
build:
runs-on: windows-latest # The first job utilizes windows-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
name: windows
path: target/release/tes3edit.exe
deploy:
concurrency: ci-${{ github.ref }}
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download Artifacts 🔻 # The built project is downloaded into the 'site' folder.
uses: actions/download-artifact@v3
with:
name: windows
path: site
- name: Display structure of downloaded files
run: ls -R
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: 'site' # The deployment folder should match the name of the artifact. Even though our project builds into the 'build' folder the artifact name of 'site' must be placed here.
clean-exclude: |
*.md
assets