Skip to content

Commit

Permalink
Improve downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
ollydev committed May 29, 2022
1 parent 4bf7905 commit d4107a2
Show file tree
Hide file tree
Showing 6 changed files with 242 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
laz-url: https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/Lazarus%202.2.2/Lazarus-2.2.2-0-x86_64-macosx.pkg
fpc-url: |
https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/Lazarus%202.2.2/fpc-3.2.2.intelarm64-macosx.dmg
https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/Lazarus%202.2.2/fpc-src-3.2.2-20210709-macosx.dmg
https://sourceforge.net/projects/lazarus/files/Lazarus%20macOS%20x86-64/Lazarus%202.2.2/fpc-src-3.2.2-20210709-macosx.dmg
steps:
- uses: actions/[email protected]
Expand Down
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: 'Setup Lazarus'
description: 'Setup Lazarus using installers from sourceforge'
inputs:
use-cache:
required: false
default: 'true'
laz-url:
required: true
fpc-url:
Expand All @@ -9,6 +12,6 @@ runs:
using: 'node16'
main: 'dist/index/index.js'
post: 'dist/post/index.js'
post-if: env.SAVE_CACHE_KEY != ''
post-if: success() && env.SAVE_CACHE_KEY != ''


Loading

0 comments on commit d4107a2

Please sign in to comment.