Skip to content

Commit

Permalink
ubuntu-latest + real s3
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Dec 10, 2024
1 parent 090570f commit ccbf4e2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/actions/ci-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
go-version: "1.23.3"

- name: "Install native packages"
if: inputs.matrix-os == 'ubuntu-24.04'
if: inputs.matrix-os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf rpm
Expand All @@ -34,14 +34,14 @@ runs:
# flatpak gnome-software-plugin-flatpak flatpak-builder elfutils

# - name: "Setup Flatpak"
# if: inputs.matrix-os == 'ubuntu-24.04'
# if: inputs.matrix-os == 'ubuntu-latest'
# run: |
# sudo flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# shell: bash

- name: Setup cache Ubuntu
uses: actions/cache@v3
if: inputs.matrix-os == 'ubuntu-24.04'
if: inputs.matrix-os == 'ubuntu-latest'
with:
path: |
~/.cache/go-build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/desktop-dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
arch: arm64
goarch: arm64
daemon_name: aarch64-apple-darwin
- os: ubuntu-24.04
- os: ubuntu-latest
arch: x64
goarch: amd64
daemon_name: x86_64-unknown-linux-gnu
Expand Down Expand Up @@ -152,8 +152,8 @@ jobs:
VITE_GATEWAY_URL: "https://dev.hyper.media"
VITE_DESKTOP_SENTRY_DSN: "${{ secrets.DESKTOP_SENTRY_DSN }}"
SENTRY_AUTH_TOKEN: "${{ secrets.SENTRY_AUTH_TOKEN }}"
TEMP_S3_ACCESS_KEY: ${{ secrets.TEMP_S3_ACCESS_KEY }}
TEMP_S3_SECRET_KEY: ${{ secrets.TEMP_S3_SECRET_KEY }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
Expand All @@ -179,6 +179,6 @@ jobs:
VITE_GATEWAY_URL: "https://dev.hyper.media"
VITE_DESKTOP_SENTRY_DSN: "${{ secrets.DESKTOP_SENTRY_DSN }}"
SENTRY_AUTH_TOKEN: "${{ secrets.SENTRY_AUTH_TOKEN }}"
TEMP_S3_ACCESS_KEY: ${{ secrets.TEMP_S3_ACCESS_KEY }}
TEMP_S3_SECRET_KEY: ${{ secrets.TEMP_S3_SECRET_KEY }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
SEED_P2P_TESTNET_NAME: "dev"
2 changes: 1 addition & 1 deletion .github/workflows/desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
arch: arm64
goarch: arm64
daemon_name: aarch64-apple-darwin
- os: ubuntu-24.04
- os: ubuntu-latest
arch: x64
goarch: amd64
daemon_name: x86_64-unknown-linux-gnu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
arch: arm64
goarch: arm64
daemon_name: aarch64-apple-darwin
- os: ubuntu-24.04
- os: ubuntu-latest
arch: x64
goarch: amd64
daemon_name: x86_64-unknown-linux-gnu
Expand Down
12 changes: 6 additions & 6 deletions frontend/apps/desktop/forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ function addPublishers() {

config.publishers?.push(
new PublisherS3({
bucket: 'seed-demo',
accessKeyId: process.env.TEMP_S3_ACCESS_KEY,
secretAccessKey: process.env.TEMP_S3_SECRET_KEY,
bucket: 'seedappdev',
accessKeyId: process.env.S3_ACCESS_KEY,
secretAccessKey: process.env.S3_SECRET_KEY,
folder: 'dev',
omitAcl: true,
public: true,
Expand All @@ -178,9 +178,9 @@ function addPublishers() {
// },
}),
new PublisherS3({
bucket: 'seed-demo',
accessKeyId: process.env.TEMP_S3_ACCESS_KEY,
secretAccessKey: process.env.TEMP_S3_SECRET_KEY,
bucket: 'seedappdev',
accessKeyId: process.env.S3_ACCESS_KEY,
secretAccessKey: process.env.S3_SECRET_KEY,
folder: 'dev',
omitAcl: true,
public: true,
Expand Down

0 comments on commit ccbf4e2

Please sign in to comment.