add act_runner
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
This commit is contained in:
@@ -5,30 +5,48 @@ on: [push]
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: linux-amd64
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
#defaults:
|
||||
# run:
|
||||
# shell: bash
|
||||
steps:
|
||||
|
||||
- name: write secret to dotenv
|
||||
working-directory: /usr/share/ansible-repo
|
||||
shell: bash
|
||||
run: |
|
||||
echo -e "nigg"
|
||||
# - name: write secret to dotenv
|
||||
# working-directory: /usr/share/ansible-repo
|
||||
# shell: bash
|
||||
# run: |
|
||||
# echo -e "nigg"
|
||||
|
||||
- name: asdf2
|
||||
working-directory: /usr/share/ansible-repo
|
||||
shell: bash
|
||||
run: |
|
||||
echo -e "asdf" > /root/gig
|
||||
# - name: asdf2
|
||||
# working-directory: /usr/share/ansible-repo
|
||||
# shell: bash
|
||||
# run: |
|
||||
# echo -e "asdf" > /root/gig
|
||||
|
||||
- name: write secret to dotenv
|
||||
working-directory: /usr/share/ansible-repo
|
||||
shell: bash
|
||||
# - name: write secret to dotenv
|
||||
# working-directory: /usr/share/ansible-repo
|
||||
# shell: bash
|
||||
# run: |
|
||||
# echo -e "{{ runner.os }}"
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Check system info using bash
|
||||
run: |
|
||||
echo -e "{{ runner.os }}"
|
||||
|
||||
|
||||
echo "Running on the host machine"
|
||||
uname -a
|
||||
which bash
|
||||
bash --version
|
||||
|
||||
- name: List files in the workspace
|
||||
run: ls -lsa
|
||||
|
||||
- name: Run a simple bash script
|
||||
run: |
|
||||
echo "Hello from Gitea Actions!"
|
||||
mkdir -p my_output
|
||||
echo "This was created by a workflow running on the host." > my_output/output.txt
|
||||
shell: bash
|
||||
# - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
# - 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 }}."
|
||||
|
||||
Reference in New Issue
Block a user