18 lines
575 B
YAML
18 lines
575 B
YAML
name: Checkout code
|
|
run-name: Test action
|
|
on: [push]
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Fetch public IP
|
|
run: curl "https://api.ipify.org"
|
|
- name: Get local weather (just because we can...)
|
|
run: curl "https://api.open-meteo.com/v1/forecast?latitude=52.3547417&longitude=4.8213892&hourly=temperature_240m"
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- run: echo "Repository cloned"
|
|
- name: Files in repository
|
|
run: |
|
|
ls -al ${{ gitea.workspace }} |