Update .gitea/workflows/docker-test.yml
All checks were successful
Windows Build / build (push) Successful in 1s

This commit is contained in:
monheim 2025-04-20 22:04:59 +02:00
parent 163795818d
commit eeb8da3ba2

View File

@ -1,19 +1,16 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs: jobs:
Explore-Gitea-Actions: build:
runs-on: ubuntu-latest runs-on: windows-host
container:
image: mcr.microsoft.com/windows/servercore:ltsc2019
options: --isolation=process
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - name: Install Rust
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }} curl -sSf -o rustup-init.exe https://win.rustup.rs/
- run: echo "🍏 This job's status is ${{ job.status }}." .\rustup-init.exe -y --default-toolchain stable
refreshenv
rustup component add rust-src
- name: Build
run: |
cargo build --release