Skip to content

Commit

Permalink
ci: specify ref
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehmcc committed Jul 29, 2024
1 parent 1c7ef0a commit 3256f00
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build-on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,19 @@ jobs:
permissions:
contents: write
steps:
# Set up repo and java
# Set up repo
- name: Clone repository
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}

# Changelog time!
- name: Conventional Changelog Action
uses: TriPSs/conventional-changelog-action@v5
with:
github-token: ${{ secrets.github_token }}

# Get the dependencies going
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
Expand All @@ -25,12 +35,6 @@ jobs:
java-version: 17
distribution: "temurin"

# Changelog time!
- name: Conventional Changelog Action
uses: TriPSs/conventional-changelog-action@v5
with:
github-token: ${{ secrets.github_token }}

# And begin the flutter
- name: Install dependencies
run: flutter pub get
Expand Down

0 comments on commit 3256f00

Please sign in to comment.