Skip to content

Commit

Permalink
updated script
Browse files Browse the repository at this point in the history
  • Loading branch information
emilpriver committed Dec 27, 2023
1 parent 0a3648b commit 16f2bda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: docker build -t ghcr.io/${{ github.repository }}/geni:${{ github.ref_name }} .
run: docker build -t ghcr.io/${{ github.repository }}:${{ github.ref_name }} .
- name: Push
if: startsWith(github.ref, 'refs/tags/')
run: docker push ghcr.io/${{ github.repository }}:${{ github.ref_name }}
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,20 @@ jobs:
if: ${{matrix.os != 'windows'}}
shell: bash
run: |
cp target/release/geni geni-${{matrix.os}}-${{matrix.arch}}
cp target/release/geni geni
- name: Rename package
if: ${{matrix.os == 'windows'}}
shell: bash
run: |
cp target/release/geni.exe geni-${{matrix.os}}-${{matrix.arch}}.exe
cp target/release/geni.exe geni
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ matrix.arch }}
path: geni-${{matrix.os}}-${{matrix.arch}}*
path: geni
- name: Publish to release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: 'geni*'
files: 'geni'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 16f2bda

Please sign in to comment.