Skip to content

Commit

Permalink
Adjustment for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Jan 25, 2024
1 parent 6dd766b commit 43423b2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ jobs:
- run: flutter test

publish:
needs: test
permissions:
id-token: write # Required for authentication using OIDC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Install dependencies
run: flutter pub get
- name: Publish
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/src/attributes/gradient/gradient_util_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void main() {
// focal
test('.focal', () {
const focal = Alignment.center;
final attribute = radialUtility.focal.builder(focal);
final attribute = radialUtility.focal(focal);
final attributeFn = radialUtility.focal.center();

final resolvedGradient =
Expand Down
12 changes: 1 addition & 11 deletions website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,9 @@ module.exports = withNextra({

async redirects() {
return [
{
source: "/docs/variant",
destination: "/docs/getting-started/variant",
permanent: true,
},
{
source: "/docs/getting-started",
destination: "/docs/getting-started/basic-usage",
permanent: true,
},
{
source: "/docs/changelog",
destination: "https://github.com/fluttertools/mix/releases",
destination: "https://github.com/conceptadev/mix/releases",
permanent: true,
},
];
Expand Down

1 comment on commit 43423b2

@vercel
Copy link

@vercel vercel bot commented on 43423b2 Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.