1
0
Fork 0
mirror of https://github.com/subosito/flutter-action.git synced 2024-08-16 10:19:50 +02:00
Commit graph

235 commits

Author SHA1 Message Date
Richard Shiue
1c5eb12d81
fix: specify pub cache path (#280) 2024-03-20 11:20:53 +07:00
Koji Wakamiya
62f096cacd
Update README (#266)
* doc: Update README

* fix: Specify the dev channel version
2024-02-13 07:52:27 +07:00
Jørgen Tjernø
844082558d
Improvements to caching (#265)
* Bump actions/cache to v4 to suppress node warnings

* Respect `PUB_CACHE` from the environment

* Cache pub-cache separately from flutter

In order to reduce the extra work that happens when you update your
pubspec.lock, don't use `hashFiles('**/pubspec.lock')` in the hash of
the flutter installation, and separately cache the `.pubspec-cache`.

Also return the `.pub-cache` to `$HOME`, since it's not part of the tool
installation.

* Fix README example of pub-cache-path and document `PUB_CACHE`
2024-02-13 07:13:38 +07:00
Koji Wakamiya
14bf5302ef
Set architecture options from runner's architecture (#264)
* feat: Add ARCH_NAME variable and set default ARCH value

* chore: Show runner's os and architecture

* chore: Update actions
2024-02-05 09:06:33 +07:00
Devon Carew
02b923c0e1
add support for the main channel (#258)
* add support for the main channel

* update testing for the 'main' channel
2023-11-20 16:29:45 +07:00
Alif Rachmawadi
aa6d9b9844
update cache test 2023-11-01 18:11:33 +07:00
Alif Rachmawadi
2783a3f08e
ensure setup.sh executable; fixes #245 2023-11-01 17:59:30 +07:00
Daren Hayward
c33c37022b
Extract to a temporary location to enable moving of flutter folder. (#227) 2023-11-01 17:50:15 +07:00
Gustl22
cc97e1648f
feat: Allow git ref as version in master channel (#237)
* feat: Allow git ref as version in `master` channel

* fix lint

* fix parsing

* fix test

* fix checkout, add tests

* replace with tab
2023-10-11 15:55:21 +07:00
Alif Rachmawadi
ed388baf1d
fixes #224; update readme 2023-06-24 16:31:51 +07:00
Alif Rachmawadi
48cafc2471
re-add master channel support 2023-03-23 05:52:25 +07:00
Alif Rachmawadi
1508160852
adjust filter by arch 2023-03-22 08:45:49 +07:00
Alif Rachmawadi
88cab4064b
add restore-keys cache support 2023-03-21 22:20:05 +07:00
Alif Rachmawadi
55a58f6493
make simpler 2023-03-21 21:49:20 +07:00
Alif Rachmawadi
d369dd765d
make simpler 2023-03-21 21:46:00 +07:00
Alif Rachmawadi
42b3ed07e1
make simpler 2023-03-21 21:45:02 +07:00
Alif Rachmawadi
8dbc29a898
make simpler 2023-03-21 21:42:52 +07:00
Alif Rachmawadi
ed0e860e8f
make simpler 2023-03-21 21:37:50 +07:00
Alif Rachmawadi
37734c707c
update test fixtures 2023-03-21 21:31:03 +07:00
Alif Rachmawadi
b1ba330d99
update test fixtures 2023-03-21 21:25:27 +07:00
Alif Rachmawadi
43c32c5d3a
update test fixtures 2023-03-21 20:55:50 +07:00
Alif Rachmawadi
dbf1fa04f4
Replace set-output with $GITHUB_OUTPUT; fixes #192 (#194)
* replace set-output with $GITHUB_OUTPUT

* use stdout for test mode

* update readme
2022-10-13 06:31:27 +07:00
Adrien Padol
1e6ee87cb8
Added missing parameter for cache-key (#187) 2022-09-17 07:11:03 +07:00
Alif Rachmawadi
45dd344cec
github sponsor 2022-09-08 11:37:17 +07:00
Alif Rachmawadi
de3cdb9a4b
enhance set output 2022-09-08 09:12:35 +07:00
Alif Rachmawadi
1e952778af
enhance set output 2022-09-08 00:57:19 +07:00
Alif Rachmawadi
9d48f4efd5
use named arguments for version and arch 2022-08-25 17:24:16 +07:00
Alif Rachmawadi
6c2e035f26
fix test manifest load 2022-07-26 17:47:54 +07:00
Alif Rachmawadi
c30358aafe
dynamic cache path 2022-07-26 13:20:39 +07:00
Alif Rachmawadi
472d887f68
update readme 2022-07-26 11:56:47 +07:00
Alif Rachmawadi
b1d33bca25
print version 2022-07-25 19:47:52 +07:00
Alif Rachmawadi
e5fb13927b
update readme 2022-07-25 19:36:41 +07:00
Alif Rachmawadi
ebff0a3874
tidy up 2022-07-25 19:15:22 +07:00
Alif Rachmawadi
d8cf9a8ccc
tidy up 2022-07-25 18:58:09 +07:00
Alif Rachmawadi
e09ab0131a
remove opencollective 2022-07-24 21:17:47 +07:00
Alif Rachmawadi
becfb71246
shellcheck linter 2022-07-24 19:30:59 +07:00
Alif Rachmawadi
54864698df
test mode and cache key builder (#175) 2022-07-24 19:19:31 +07:00
Alif Rachmawadi
ea686d7c56
check jq 2022-07-19 12:00:34 +07:00
Alif Rachmawadi
9c6ea81337
check jq, fixes #170 2022-07-19 06:32:29 +07:00
Jiun Kim
29ad5bdaf4
Update for any-version on any-channel (#155)
* Update for testing any-version on any-channel

* Update `latest_version` and Add `latest_channel_version`
2022-06-05 16:06:25 +07:00
Jiun Kim
0c3f14223a
Update cache-key with Runner.os and Arch (#152)
* Add `${{ runner.os }}` on cache-key

* Add `${{ inputs.architecture }}` as Cache-key
2022-04-29 09:03:21 +07:00
Jiun Kim
0f2cd3391b
Update architecture default as runner.arch (#153)
* Update architecture default as `runner.arch`

* Update to convert `ARCH` as lowercase

* Refactor for `ARCH` variable
2022-04-29 07:52:26 +07:00
Jiun Kim
cf0b7b2cac
Update for actions/cache version to 3 (#150) 2022-04-27 10:24:59 +07:00
Alif Rachmawadi
d8687e6979 add open collective funding 2022-04-20 06:42:47 +07:00
Goooler
2fcd5629bc
Bump actions/checkout to v3 (#145) 2022-04-19 17:54:50 +07:00
菘菘
6a13bd0836
feat: support to set architecture of SDK executable (#147)
* feat: support to set architecture of SDK executable

* docs: update

* fix: try fix tests

* ci: set `fail-fast` to false

* fix: get latest version sdk

* fix: test any version

* fix: legacy version format

* fix: tests

* revert changes for `.github/workflows/workflow.yml`

* Update workflow.yml

* rename `ARCHITECTURE` to `ARCH`

* follow the existing spacing

* style: simplified code

* Update setup.sh

* style
2022-04-19 16:08:46 +07:00
Alif Rachmawadi
f0cc0311e0
update .pub-cache location 2022-03-31 12:45:08 +07:00
Alif Rachmawadi
5e1529bc12
update readme 2022-02-07 23:42:26 +00:00
Alif Rachmawadi
99cf4656b5
Merge pull request #134 from kuhnroyal/temp-folder-windows
Fix temp folder handling on windows
2022-02-04 23:44:20 +07:00
Peter Leibiger
b3c14e7ecc
Fix temp folder handling on windows
Something with the globing seems not work but not sure exactly. Now using a simple way of ensure that the target folder never exists when calling `mv` so that it behaves as a rename instead of a move into. The folder still needs to be created first so that parent folders (in case of a custom cache path) are created.
2022-02-04 17:30:43 +01:00