This commit is contained in:
parent
aab6eff007
commit
4d2716c174
1 changed files with 28 additions and 0 deletions
28
.forgejo/workflows/main-build.yaml
Normal file
28
.forgejo/workflows/main-build.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-web:
|
||||
runs:
|
||||
using: docker
|
||||
image: ghcr.io/iarunsaragadam/flutter-web-builder:latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
run: ls -la
|
||||
|
||||
- name: Cache Flutter
|
||||
id: cache-flutter
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ HOME }}/.pub-cache
|
||||
key: ${{ forge.ref_name }}-flutter-cache-temp
|
||||
|
||||
- name: Cache pub dependencies
|
||||
uses: actions/cache@v4
|
||||
id: cache-pub
|
||||
with:
|
||||
path: ${{ HOME }}/.pub-cache
|
||||
key: ${{ forge.ref_name }}-pub-cache-temp
|
Loading…
Add table
Reference in a new issue