Skip to content

Commit

Permalink
fix: fix invalid workflow arg
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmo314 committed Aug 13, 2021
1 parent 9db3f6e commit 822ab02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- run: echo "${{ github.event.action }}"
- run: echo "${{ github.event.release.prerelease }}"
if: ${{ github.event.action == 'release' }}

- name: Set environment to prod
if: ${{ github.event.action == 'release' && !github.event.release.prerelease }}
if: ${{ github.event_name == 'release' && !github.event.release.prerelease }}
run: echo "track=production" >> $GITHUB_ENV
- name: Set environment to beta
if: ${{ github.event.action == 'release' && github.event.release.prerelease }}
if: ${{ github.event_name == 'release' && github.event.release.prerelease }}
run: echo "track=beta" >> $GITHUB_ENV
- name: Set environment to alpha
if: ${{ github.event.action == 'push' }}
if: ${{ github.event_name == 'push' }}
run: echo "track=alpha" >> $GITHUB_ENV

- uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ class App extends StatelessWidget {

@override
Widget build(BuildContext context) {
print("temp");
return MultiProvider(
providers: [
ChangeNotifierProvider(create: (context) => UserModel()),
Expand Down

0 comments on commit 822ab02

Please sign in to comment.