parent
036e3023ad
commit
0baadf9c61
1 changed files with 27 additions and 0 deletions
27
.forgejo/workflows/test.yml
Normal file
27
.forgejo/workflows/test.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
on:
|
||||||
|
push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: [ debian ]
|
||||||
|
steps:
|
||||||
|
- uses: https://source.mapcomplete.org/actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Print root directory
|
||||||
|
shell: bash
|
||||||
|
run: ls /
|
||||||
|
|
||||||
|
- name: create dummy file
|
||||||
|
run: |
|
||||||
|
date > date.txt
|
||||||
|
|
||||||
|
- name: push
|
||||||
|
run: |
|
||||||
|
git pull
|
||||||
|
git config user.name "Android file update bot"
|
||||||
|
git config user.email "info@mapcomplete.org"
|
||||||
|
date > date.txt
|
||||||
|
git add date.txt
|
||||||
|
git commit -m "Add files for release ${{ github.ref_name }}"
|
||||||
|
git tag "${{ github.ref_name }}"
|
||||||
|
git push source --verbose --follow-tags
|
||||||
Loading…
Add table
Add a link
Reference in a new issue