-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
759cadf
commit 102d95b
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,17 +19,17 @@ jobs: | |
uses: Nature40/[email protected] | ||
with: | ||
pifile: Base.Pifile | ||
- name: Run tRackIT Pifile | ||
- name: Run BatRack Pifile | ||
uses: Nature40/[email protected] | ||
with: | ||
pifile: tRackIT.Pifile | ||
pifile: BatRack.Pifile | ||
|
||
- name: Set Release Version | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
- name: Rename tRackIT Image | ||
run: mv tRackIT.img tRackIT-${{ env.RELEASE_VERSION }}.img | ||
- name: Package tRackIT.zip | ||
run: zip tRackIT-${{ env.RELEASE_VERSION }}.zip tRackIT-${{ env.RELEASE_VERSION }}.img | ||
- name: Rename BatRack Image | ||
run: mv BatRack.img BatRack-${{ env.RELEASE_VERSION }}.img | ||
- name: Package BatRack.zip | ||
run: zip BatRack-${{ env.RELEASE_VERSION }}.zip BatRack-${{ env.RELEASE_VERSION }}.img | ||
- name: Create GitHub release | ||
id: create_release | ||
uses: actions/[email protected] | ||
|
@@ -40,13 +40,13 @@ jobs: | |
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: true | ||
- name: Upload tRackIT.zip to release | ||
id: upload_trackit_zip | ||
- name: Upload BatRack.zip to release | ||
id: upload_batrack_zip | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: tRackIT-${{ env.RELEASE_VERSION }}.zip | ||
asset_name: tRackIT-${{ env.RELEASE_VERSION }}.zip | ||
asset_path: BatRack-${{ env.RELEASE_VERSION }}.zip | ||
asset_name: BatRack-${{ env.RELEASE_VERSION }}.zip | ||
asset_content_type: application/zip |